Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 835 Bytes

File metadata and controls

36 lines (24 loc) · 835 Bytes

@naturalcycles/generator-nodejs-lib

Yeoman generator to create a Node.js lib

npm code style: prettier

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