generator-node-module icon indicating copy to clipboard operation
generator-node-module copied to clipboard

A Yeoman module to author Node libraries with Prettier, Jest, Flow and Babel.

@callstack-io/generator-node-module

A Yeoman generator to author libraries in ES2015 (and beyond!) for Node.

Features:

  • Babel and babel-preset-env for latest Javascript features
  • Flow for faster coding with static type checking
  • Jest because testing matters
  • Prettier to format your Javascript
  • Husky + Lint Staged for neat precommit check
  • Eslint and eslint-config-airbnb to keep your code consistent
  • MIT license and Code of conduct
  • Github issues template

This is what we use at Callstack.io for various projects, including Haul.

Install

$ npm install --global yo @callstack-io/generator-node-module

Usage

With Yo:

$ yo @callstack-io/node-module

License

MIT @ Callstack.io