This package has been deprecated

Author message:

Use Babel instead.

broccoli-regenerator

4.0.0 • Public • Published

Deprecated

Use Babel instead.


broccoli-regenerator Build Status

Transpile ES2015 generator functions to ES5 with Regenerator

Issues with the output should be reported on the Regenerator issue tracker.

Install

$ npm install --save-dev broccoli-regenerator

Usage

var regenerator = require('broccoli-regenerator');
tree = regenerator(tree, options);

API

regenerator(tree, [options])

options.includeRuntime

Type: boolean
Default: false

A small runtime library (less than 1KB compressed) is required to provide the wrapGenerator function. You can install it either as a CommonJS module or as a standalone .js file, whichever you prefer.

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i broccoli-regenerator

Weekly Downloads

0

Version

4.0.0

License

MIT

Unpacked Size

3.79 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus