Stage 0 preset

All you need to use stage 0 (and greater) plugins

This preset includes the following plugins:

And all plugins from presets:

The gist of Stage 0 is:

Stage 0: strawman

What is it? A free-form way of submitting ideas for evolving ECMAScript. Submissions must come either from a TC39 member or a non-member who has registered as a TC39 contributor.

What’s required? The document must be reviewed at a TC39 meeting (source) and is then added to the page with stage 0 proposals.

This preset includes the following plugins:

And all plugins from presets:

You can check the src/index.js to be sure the plugins used.

Install

npm install --save-dev babel-preset-stage-0

Usage

.babelrc

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

Via CLI

babel script.js --presets stage-0

Via Node API

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

References