In
// input code
Out
"use strict";
// output code
$ npm install babel-plugin-babel-plugins
.babelrc
{
"plugins": ["babel-plugins"]
}
$ babel --plugins babel-plugins script.js
require("babel-core").transform("code", {
plugins: ["babel-plugins"]
});