pumpcat1.0.0 • Public • Published
pumpcat pipes streams together and concatenates strings or binary data and calls a callback with the result
pumpcat = pump + (concatination using bl)
npm install pumpcat
What problem does it solve?
All the problems that pump solves with added functionality of concatinating the buffer for you and let you handle the error.
Simply pass the streams you want to pipe together to pumpstream and add a callback
const pumpcat =const Readable PassThrough =const source =const dest =
You can use pumpcat to pipe more than two streams together as well
var transform =
dest closes all of them will be destroyed.