Generate files for an NPM module