Create a node.js module with Yeoman, including nodeunit unit tests.
This generator is based of grunt-init-node, authored by the magnificient GruntJS team.
Maintained by Kyle Robinson Young, Addy Osmani and Stephen Sawchuck.
Install the generator by running: npm install -g generator-node
.
At the command-line, cd into an empty directory, run this command and follow the prompts.
yo node
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.