node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

babel-preset-es2016

babel-preset-es2016

Babel preset for all es2016 plugins.

Install

npm install --save-dev babel-preset-es2016

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2016"]
}

Via CLI

babel script.js --presets es2016

Via Node API

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