Generate a node package to be published to npm.
$ npm install -g git+https://github.com/hurrymaplelad/gen-npm
# OR
$ git clone https://github.com/hurrymaplelad/gen-npm.git
$ cd gen-npm && npm link
gen-npm
isn't published to NPM, since it's full of my personal preferences.
$ gen-npm foo-mod
# Creates ./foo-mod/*
$ gen-npm
# Creates ./* based on pwd
You'll need BATS:
$ brew install bats
Then the usual
$ npm test
generator-hmlad - Yeoman based predecessor.