babel-plugin-syntax-pipeline

0.1.0 • Public • Published

babel-plugin-syntax-pipeline

Build Test Coverage Code Climate

Allow parsing of pipeline operator |>

Proposal: mindeavor/es-pipeline-operator


Installation

npm install --save-dev babel-plugin-syntax-pipeline
 
# or 
 
yarn add --dev babel-plugin-syntax-pipeline

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["syntax-pipeline"]
}

Via CLI

babel --plugins syntax-pipeline script.js

Via Node API

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

Build

npm run build

Test

npm run test

Contributing

  1. Fork it (https://github.com/SuperPaintman/babel-plugin-syntax-pipeline/fork)
  2. Create your feature branch (git checkout -b feature/<feature_name>)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin feature/<feature_name>)
  5. Create a new Pull Request

Contributors


License

MIT

Package Sidebar

Install

npm i babel-plugin-syntax-pipeline

Weekly Downloads

294

Version

0.1.0

License

MIT

Last publish

Collaborators

  • superpaintman