generator-nm5

A Cross-Platform Node.js ES5 Module Generator For OS X, Linux And Windows.

Usage no npm install needed!

<script type="module">
  import generatorNm5 from 'https://cdn.skypack.dev/generator-nm5';
</script>

README

generator-nm5

NPM version Travis-CI Status Appveyor Status Daviddm Status

Scaffold out a node module

Optionally with a CLI.

This is what I use for my own modules.

A Cross-Platform Node.js ES5 Module Generator For OS X, Linux And Windows.

Install

$ npm install --global generator-nm5

Usage

With yo:

$ yo nm5

Example

Build example.

Tip

Use chalk if you want colors in your CLI.

Features

Currently, it uses :

  • Lint
    • eslint
    • eclint - editorconfig
  • CI
    • travis-ci - Test on Ubuntu
    • appveyor - Test on Windows
    • tachikoma - Dependency Update as a Service. http://tachikoma.io
  • Test
    • mocha
    • power-assert
  • Utility
    • fixpack - Sort package.json
    • conventional-changelog - Changelog
    • npm-check-updates - Dependency Update

Changelog

changelog.md.

License

generator-nm5

MIT © Sanemat

Original generator-nm

MIT © Sindre Sorhus