Boilerplate to kickstart creating a node module
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit 877e775 Jun 16, 2018
Permalink
Failed to load latest commit information.
boilerplate Some tweaks Jun 16, 2018
cli-boilerplate Some tweaks Jun 16, 2018
.editorconfig tweaks Feb 3, 2016
.gitattributes tweaks Feb 3, 2016
license Update to match own setup Jun 1, 2017
readme.md Split API and CLI into separate boilerplates (#14) Jul 23, 2017

readme.md

node-module-boilerplate

Boilerplate to kickstart creating a node module

Also with a boilerplate for creating a CLI.

This is what I use for my own modules.

Getting started

In your directory, run:

$ curl -fsSL https://github.com/sindresorhus/node-module-boilerplate/archive/master.tar.gz | tar -xz --strip-components=2 node-module-boilerplate-master/boilerplate

Or if you want to create a CLI:

$ curl -fsSL https://github.com/sindresorhus/node-module-boilerplate/archive/master.tar.gz | tar -xz --strip-components=2 node-module-boilerplate-master/cli-boilerplate

Alternatively you can git clone or download this repo and get contents of the boilerplate or cli-boilerplate folder.

There's also a Yeoman generator.

License

MIT © Sindre Sorhus