babel-preset-stage-0-without-async
Use stage-0 Babel features without `transform-async-generator-functions`
Last updated 3 years ago by cap32 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-stage-0-without-async 
SYNC missed versions from official npm registry.

babel-preset-stage-0-without-async

Use stage-0 Babel features without transform-async-generator-functions.

There's no need to transform async to generator-functions on Node.js >= v7.6.

Installation

Installation requires installing a peer dependence.

yarn add -D babel-preset-stage-0 babel-preset-stage-0-without-async

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["stage-0-without-async"]
}

Via CLI

babel script.js --presets stage-0-without-async

Via Node API

require('babel-core').transform('code', {
  presets: ['stage-0-without-async']
});

License

MIT © Cap32

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 4
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |