Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/superpaintman/babel-plugin-syntax-pipeline
Allow parsing of pipeline operator |>
https://github.com/superpaintman/babel-plugin-syntax-pipeline
babel babel-plugin ecmascript ecmascript-proposal ecmascript-syntax
Last synced: about 1 month ago
JSON representation
Allow parsing of pipeline operator |>
- Host: GitHub
- URL: https://github.com/superpaintman/babel-plugin-syntax-pipeline
- Owner: SuperPaintman
- License: mit
- Created: 2017-03-19T00:08:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-19T02:12:18.000Z (almost 8 years ago)
- Last Synced: 2024-11-09T03:39:00.996Z (about 2 months ago)
- Topics: babel, babel-plugin, ecmascript, ecmascript-proposal, ecmascript-syntax
- Language: JavaScript
- Size: 31.3 KB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babel-plugin-syntax-pipeline
[![Build][travis-image]][travis-url]
[![Test Coverage][coveralls-image]][coveralls-url]
[![Code Climate][codeclimate-image]][codeclimate-url]> Allow parsing of pipeline operator `|>`
**Proposal**: [mindeavor/es-pipeline-operator][proposal-url]
--------------------------------------------------------------------------------
## Installation
```sh
npm install --save-dev babel-plugin-syntax-pipeline# or
yarn add --dev babel-plugin-syntax-pipeline
```--------------------------------------------------------------------------------
## Usage
### Via `.babelrc` (Recommended)**.babelrc**
```json
{
"plugins": ["syntax-pipeline"]
}
```### Via CLI
```sh
babel --plugins syntax-pipeline script.js
```### Via Node API
```javascript
require("babel-core").transform("code", {
plugins: ["syntax-pipeline"]
});
```--------------------------------------------------------------------------------
## Build
```sh
npm run build
```--------------------------------------------------------------------------------
## Test
```sh
npm run test
```--------------------------------------------------------------------------------
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin feature/`)
5. Create a new Pull Request--------------------------------------------------------------------------------
## Contributors
- [SuperPaintman](https://github.com/SuperPaintman) SuperPaintman - creator, maintainer
--------------------------------------------------------------------------------
## License
[MIT][license-url]
[license-url]: LICENSE
[travis-image]: https://img.shields.io/travis/SuperPaintman/babel-plugin-syntax-pipeline/master.svg?label=linux
[travis-url]: https://travis-ci.org/SuperPaintman/babel-plugin-syntax-pipeline
[coveralls-image]: https://img.shields.io/coveralls/SuperPaintman/babel-plugin-syntax-pipeline/master.svg
[coveralls-url]: https://coveralls.io/r/SuperPaintman/babel-plugin-syntax-pipeline?branch=master
[codeclimate-image]: https://img.shields.io/codeclimate/github/SuperPaintman/babel-plugin-syntax-pipeline.svg
[codeclimate-url]: https://codeclimate.com/github/SuperPaintman/babel-plugin-syntax-pipeline
[proposal-url]: https://github.com/mindeavor/es-pipeline-operator