enable-stream
v1.1.0
Published
Utility for enabling/disabling streams in pipeline
Downloads
3
Readme
enable-stream
Utility for enabling/disabling streams in pipeline
Usage
var es = require('enable-stream)
es.src(source,sourceEnabled).pipe(es(transform,transformEnabled)).pipe(es.dst(destination,destinationEnabled))
if a function creating a stream is passed to enable-stream
then it is called only when stream is enabled.