@naturalcycles/generator-nodejs-lib
Yeoman generator to create a Node.js lib
Global setup
You need to have latest yeoman globally installed, install it like this:
npm i -g yo
yo --version
Then, globally-install this generator:
npm i -g @naturalcycles/generator-nodejs-lib
Usage
mkdir my-lib
cd my-lib
yo
Then, select the needed generator and run it there!
Debug
mkdir tmp/test-project
cd tmp/test-project
yo @naturalcycles/nodejs-lib