slush-n

A Slush generator for creating Node modules

Usage no npm install needed!

<script type="module">
  import slushN from 'https://cdn.skypack.dev/slush-n';
</script>

README

slush-n

Build status NPM version XO code style

A Slush generator for creating Node modules

Installation

Install slush-n globally and it's peers: slush using npm:

npm install -g slush slush-n

Usage

Create a project folder:

mkdir my-module

Then run slush-n in it:

cd my-module && slush n

What you'll get

  • A configured .travis.yml file for Travis builds
  • An .editorconfig and XO for consistent code style
  • AVA for awesome testing

You'll also get a simple folder structure:

├── src/    # Put module code here
└── test/   # Put test code here

No gulp?

Yes, that's right! I favor using npm scripts instead. It has saved me many hours in comparison to gulp and grunt. See How to Use npm as a Build Tool for a good intro to npm scripts.

License

MIT © Joakim Carlstein