Pipe to stdout and writeable stream Pipe to stdout and writeable stream node.js node.js

Pipe to stdout and writeable stream


I think what you want is:

reader.pipe(catify)catify.pipe(writer)catify.pipe(process.stdout)

These needed to be separated because pipes return their destinations and not their source.