6.3.13 • Published 9 years ago
babel-preset-es2015-generators-async v6.3.13
babel-preset-es2015-generators-async
babel-preset-es2015 minus regenerator plus async-to-module-method.
Install
$ npm install --save-dev babel-preset-es2015-generators-async
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["es2015-generators-async"]
}
Via CLI
$ babel script.js --presets es2015-generators-async
Via Node API
require("babel-core").transform("code", {
presets: ["es2015-generators-async"]
});
6.3.13
9 years ago