node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

mutapipe

mutapipe Build Status

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