Streams for every day

December 3, 2015

“Streams in node are one of the rare occasions when doing something the fast way is actually easier. SO USE THEM. not since bash has streaming been introduced into a high level language as nicely as it is in node.”

@dominictarr in his high level node style guide.

General

tweetStream.pipe(process.stdout)

Readable

Writable

Duplex

FD Streams

Child Process

What about Callback

Bonus Extra

Interested libraries to use with streams are:

Bibliography