generator-nm-semistandard

Scaffold out a node module, with semistandard code style

Usage no npm install needed!

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

README

generator-nm-semistandard Build Status

Scaffold out a node module, following the semistandard code style.

js-semistandard-style

Based on @sindresorhus/generator-nm

This is what I use for my own modules.

Install

$ npm install --global generator-nm-semistandard

Usage

With yo:

$ yo nm-semistandard
# will run a generator, resulting in a module
# that follows the semistandard code style.

Extensions over generator-nm by @sindresorhus

  • Semistandard added to the devDependencies

  • semistandard is part of the npm test script.

    Whenever npm test is run, code in the module is automatically checked for semistandard code style, and the test fails if there are any issues.

  • Add the Javascript semistandard code style badge to the README file

js-semistandard-style

License

MIT © Siddharth Kannan