node-template

Node.js package template.

Usage no npm install needed!

<script type="module">
  import nodeTemplate from 'https://cdn.skypack.dev/node-template';
</script>

README

NodeTemplate

Node.js project template.

Install

npm install coffee-script node-template -g

Create a new project

node-template my-project
cd my-project

Compile CoffeeScript (watch ./src)

npm start

Run tests

npm test

Template branches

To use a template branch:

node-template -b express my_project

Multiple branches are okay:

node-template -b express-backbone-everyauth -b express-backbone-redis my_project

Dependencies

Production

Development

Install

Install shrinkwrapped and/or new dependencies:

cake install

This runs automatically upon creating a project.

Publish

Shrinkwraps, commits, and tags with version:

cake publish

Contribute

Create an issue to discuss template changes.

Pull requests for template changes and new branches are even better.

Stay up to date

Watch this project on Github.

Follow Winton Welsh on Twitter.