Stage 1 preset

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

This preset includes the following plugins:

And all plugins from presets:

Install

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

Usage

.babelrc

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

Via CLI

babel script.js --presets stage-1

Via Node API

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