babel-patchwork
v0.0.9
Published
like systemjs but different words
Downloads
17
Readme
babel-plugin-babel-patchwork
like systemjs but different words
Example
In
// input code
Out
"use strict";
// output code
Installation
$ npm install babel-plugin-babel-patchwork
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["babel-patchwork"]
}
Via CLI
$ babel --plugins babel-patchwork script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["babel-patchwork"]
});