Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

@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": ["@babel/plugin-syntax-pipeline-operator"]
}

Via CLI

$ babel --plugins @babel/plugin-syntax-pipeline-operator script.js

Via Node API

require("@babel/core").transform("code", {
  plugins: ["@babel/plugin-syntax-pipeline-operator"]
});