generatable

0.1.0 • Public • Published

generatable

Build Status

Throw a verbose error when ES6 generator functions are not available This is useful mainly for command line applications

Installation

$ npm install generatable

Example

just

require('generatable');
  

If generator functions are unavailable, it will throw an error for you.

Quirks

... todo

Todo

  • Throw a real error, not just a string
  • Find a good web link on enabling harmony/generator compatibility (gnode, regenerator) that we can link as an error message

License

MIT

/generatable/

    Package Sidebar

    Install

    npm i generatable

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • dlau