babel-plugin-inline
v1.0.0
Published
Array map/filter/reduce inlining plugin
Downloads
4
Readme
babel-plugin-inline
Array map/filter/reduce inlining plugin.
Installation
$ npm i -D babel-plugin-inline
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["inline"]
}
Via CLI
$ babel --plugins inline script.js
Via Node API
require('babel').transform('code', {
plugins: ['inline']
});