Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-preset-stage-0

babel1.6mMIT6.24.1

Babel preset for stage 0 plugins

readme

babel-preset-stage-0

Babel preset for stage 0 plugins.

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