Scaffold out a node module.
Optionally with a CLI.
This is what I use for my own modules.
Forked from Sindre Sorhus, as while I really like the simplicity of his, I didn't want to create the .editorconfig or .jshintrc files. As time goes on, I may tweak some small things even more to my preferences. Also nmc works either as Node Module Creator, or my initials :)
$ npm install --global generator-nmc
With yo:
$ yo nmc
MIT © Sindre Sorhus (I'm going to leave the copyright in place until there's something signficant enough to add :)).