babel-plugin-syntax-pipeline-operator
v7.0.0-beta.3
Published
Allow parsing of the pipeline operator
Readme
babel-plugin-syntax-pipeline-operator
Allow parsing of the pipeline operator |>. See the proposal for details.
Installation
$ npm install babel-plugin-syntax-pipeline-operatorUsage
Via .babelrc (Recommended)
.babelrc
{
"plugins": ["syntax-pipeline-operator"]
}Via CLI
$ babel --plugins syntax-pipeline-operator script.jsVia Node API
require("babel-core").transform("code", {
plugins: ["syntax-pipeline-operator"]
});