6.3.13 • Published 9 years ago

babel-preset-es2015-generators-async v6.3.13

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

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"]
});