babel-plugin-syntax-pipeline-operator
7.0.0-beta.3 • Public • Published babel-plugin-syntax-pipeline-operator
Allow parsing of the pipeline operator |>
. See the proposal for details.
Installation
$ npm install babel-plugin-syntax-pipeline-operator
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["syntax-pipeline-operator"]
}
Via CLI
$ babel --plugins syntax-pipeline-operator script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["syntax-pipeline-operator"]
});
/babel-plugin-syntax-pipeline-operator/
//
Package Sidebar
Install
npm i babel-plugin-syntax-pipeline-operator
Weekly Downloads