A library for creating modifiable streams, useful in Gulp. Inspired by lazypipe.
npm install mutapipe --save
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.
Make sure gulp build
passes, otherwise try to maintain similar code style.
MIT