babel-preset-stage-0

Babel preset for stage 0 plugins

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-stage-0
6.24.15 years ago7 years agoMinified + gzip package size for babel-preset-stage-0 in KB

Readme

babel-preset-stage-0
Babel preset for stage 0 plugins.

Install

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

Usage

Via .babelrc (Recommended)

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

Via CLI

babel script.js --presets stage-0

Via Node API

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