babel-preset-stage-3-without-async

1.0.0 • Public • Published

babel-preset-stage-3-without-async

Use stage-3 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-3 babel-preset-stage-3-without-async

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

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

Via Node API

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

License

MIT © Cap32

Package Sidebar

Install

npm i babel-preset-stage-3-without-async

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • cap32