Quasi-periodic eruptions from the helium envelope of hydrogen-deficient stars stripped by supermassive black holes