slush-npm-package

A Slush generator for Node.js npm package

Usage no npm install needed!

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

README

Slush npm package generator

A Slush generator for Node.js ES6 npm package

Includes ES2015 babel preset and babel polyfill, console and browser test invironment (chai, mocha, phantomjs)

Getting Started

Install slush-npm-package globally:

npm install -g slush
npm install -g slush-npm-package

Usage

Create a new folder for your project:

mkdir my-slush-npm-package

Run the generator from within the new folder:

cd my-slush-npm-package && slush npm-package

Getting To Know Slush

Slush is a tool that uses Gulp for project scaffolding.

Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.

To find out more about Slush, check out the documentation.