write-transform-read
Write to a transform stream and read the output using a function
npm install write-transform-read
Usage
var writeread =var through =var echo = through// simply pass any kind of transform streamvar transform =// will write 'test' to the stream and pass the next output to the callback
This is useful if you have a transform as a stream but need to only convert a single item
License
MIT