npm.io
0.1.0 • Published 9 years ago

babel-plugin-syntax-pipeline

Licence
MIT
Version
0.1.0
Deps
1
Vulns
0
Weekly
0
Stars
22

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

.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

Keywords