babel-preset-es2015

Babel preset for all es2015 plugins.

🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
Last updated 9 years ago by sebmck .
MIT · Repository · Original npm · Tarball · package.json
$ gnpm install babel-preset-es2015 
SYNC missed versions from official npm registry.

babel-preset-es2015

Babel preset for all es2015 plugins.

Install

npm install --save-dev babel-preset-es2015

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2015"]
}

Via CLI

babel script.js --presets es2015

Via Node API

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

Options

loose

boolean, defaults to false.

Enable "loose" transformations for any plugins in this preset that allow them.

modules

"amd" | "umd" | "systemjs" | "commonjs" | false, defaults to "commonjs".

Enable transformation of ES6 module syntax to another module type.

Setting this to false will not transform modules.

spec

boolean, defaults to false.

Enable "spec" transformations for any plugins in this preset that allow them.

Current Tags

  • 6.24.1                                ...           latest (8 years ago)
  • 7.0.0-beta.3                                ...           next (7 years ago)

44 Versions

  • 7.0.0-beta.3 [deprecated]           ...           7 years ago
  • 7.0.0-beta.2 [deprecated]           ...           7 years ago
  • 7.0.0-beta.1 [deprecated]           ...           7 years ago
  • 7.0.0-beta.0 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.20 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.19 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.18 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.17 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.16 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.15 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.14 [deprecated]           ...           7 years ago
  • 7.0.0-alpha.12 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.11 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.10 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.9 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.8 [deprecated]           ...           8 years ago
  • 6.24.1 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.7 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.3 [deprecated]           ...           8 years ago
  • 6.24.0 [deprecated]           ...           8 years ago
  • 7.0.0-alpha.1 [deprecated]           ...           8 years ago
  • 6.22.0 [deprecated]           ...           8 years ago
  • 6.18.0 [deprecated]           ...           8 years ago
  • 6.16.0 [deprecated]           ...           8 years ago
  • 6.14.0 [deprecated]           ...           8 years ago
  • 6.13.2 [deprecated]           ...           8 years ago
  • 6.13.1 [deprecated]           ...           8 years ago
  • 6.13.0 [deprecated]           ...           8 years ago
  • 6.9.0 [deprecated]           ...           9 years ago
  • 6.6.0 [deprecated]           ...           9 years ago
  • 6.5.0-1 [deprecated]           ...           9 years ago
  • 6.5.0 [deprecated]           ...           9 years ago
  • 6.3.13 [deprecated]           ...           9 years ago
  • 6.2.4 [deprecated]           ...           9 years ago
  • 6.1.18 [deprecated]           ...           9 years ago
  • 6.1.17 [deprecated]           ...           9 years ago
  • 6.1.4 [deprecated]           ...           9 years ago
  • 6.1.2 [deprecated]           ...           9 years ago
  • 6.0.15 [deprecated]           ...           9 years ago
  • 6.0.14 [deprecated]           ...           9 years ago
  • 6.0.12 [deprecated]           ...           9 years ago
  • 6.0.11 [deprecated]           ...           9 years ago
  • 6.0.8 [deprecated]           ...           9 years ago
  • 6.0.2 [deprecated]           ...           9 years ago
Downloads
Today 0
This Week 0
This Month 14
Last Day 0
Last Week 14
Last Month 0
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |