7.0.0-beta.3 • Published 7 years ago

babel-plugin-syntax-pipeline-operator v7.0.0-beta.3

Weekly downloads
182
License
MIT
Repository
github
Last release
7 years ago

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"]
});