fstream class for creating npm packages