Use Babel instead.
broccoli-regenerator ![Build Status](https://camo.githubusercontent.com/272e1443fbe579391e35370d2f70a9ee632f634872797e26bfeba4f2a1428fa7/68747470733a2f2f7472617669732d63692e6f72672f73696e647265736f726875732f62726f63636f6c692d726567656e657261746f722e7376673f6272616e63683d6d6173746572)
Transpile ES2015 generator functions to ES5 with Regenerator
Issues with the output should be reported on the Regenerator issue tracker.
$ npm install --save-dev broccoli-regenerator
var regenerator = require('broccoli-regenerator');
tree = regenerator(tree, options);
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.
MIT © Sindre Sorhus