@m31271n/generator-es-module

Scaffold out an ECMAScript module.

Usage no npm install needed!

<script type="module">
  import m31271nGeneratorEsModule from 'https://cdn.skypack.dev/@m31271n/generator-es-module';
</script>

README

generator-es-module

code style: prettier Dependency Status DevDependency Status Travis Build Status NPM Downloads

Scaffold out an ECMAScript module.

Features:

  • Prettier code formatter without semicolon
  • Git pre commit hook
  • Optional transpile with Babel
  • Optional test coverage

Install

$ npm install -g yo @m31271n/generator-es-module

Usage

With yo:

$ yo @m31271n/es-module

There are multiple command-line options available:

$ yo @m31271n/es-module --help

Related

License

MIT © m31271n