babel-preset-es3

1.0.1 • Public • Published

babel-preset-es3

npm version Dependency Status

Babel preset for two ES3 transforms transform-es3-member-expression-literals and transform-es3-property-literals

This presets adds the two transforms for ES3 syntax compatibility.

Install

$ npm install --save-dev babel-preset-es3

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es3"]
}

Via CLI

$ babel script.js --preset es3

Via Node API

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

Readme

Keywords

Package Sidebar

Install

npm i babel-preset-es3

Weekly Downloads

713

Version

1.0.1

License

MIT

Last publish

Collaborators

  • simenb