node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

node-module-template

Node Module Template

NPM version NPM downloads

Create my standard node module template.

Psst! Install mversion to automatically version and tag all package files by running mversion [ major | minor | patch | prerelease | x.x.x-x ] -m

Installation

npm install node-module-template -g

Usage

node-module-template foobar
 
# Creating module... 
 
cd foobar && ls
# bower.json 
# package.json 
# README.md 
# ... 

And you're good to go!

Arguments

  • -h, --help output usage information
  • -V, --version output the version number
  • -a, --author [value] set the author string
  • -l, --license [value] set the module license
  • -u, --username [value] set the repository github username
  • -r, --repo [value] set the module repository name on github
  • -d, --dev create a dev package

Interesting Modules

CLI

Dependencies

  • Bunyan npm install bunyan --save
  • Express npm install express --save
  • VError npm install verror --save
  • Popsicle npm install popsicle --save
  • Debug npm install debug --save
  • Browserify npm install browserify --save-dev
  • Karma npm install karma --save-dev
  • Gulp npm install gulp --save-dev

License

MIT