mutapipe
v1.1.11
Published
A library for creating modifiable streams
Downloads
13
Readme
mutapipe
A library for creating modifiable streams, useful in Gulp. Inspired by lazypipe.
Installation
npm install mutapipe --save
Usage
Supports the same basic API as lazypipe.
var mutapipe = require('mutapipe'),
by = mutapipe.by;
var pipeline = mutapipe()
.pipe(jshint)
.pipe(jshint.reporter, 'jshint-stylish');
pipeline = pipeline.replace(by.task(jshint.reporter)).with(jshint.reporter, 'default');
For more examples see tests.
Contributing
Make sure gulp build
passes, otherwise try to maintain similar code style.
License
MIT