paint-brush
A sketch-note guide to node.js streams; part 1by@_lrlna
3,638 reads
3,638 reads

A sketch-note guide to node.js streams; part 1

by Irina ShestakOctober 18th, 2016
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<em>Edit: </em><a href="https://medium.com/@_lrlna/a-sketch-note-guide-to-node-js-streams-part-2-bb6119595a40#.hfqaume12" target="_blank"><em>part 2</em></a><em> has also been published </em>🙈 🙉 🙊.
featured image - A sketch-note guide to node.js streams; part 1
Irina Shestak HackerNoon profile picture

Edit: part 2 has also been published 🙈 🙉 🙊.

I would like to introduce you to node.js streams. In a sketch notes medium. On medium dot com.

Sooooooooo, at some point last weekend I was reading through node’s streams documentation, started writing all those heaps of knowledge down, and voilà this tweet was born:

As you can surely tell, my 4 year old phone camera is not made for taking any kind of pictures in the year 2016 of our lord (but it was great in 2012, I swear). This post contains a scanned (wow, scanners are still a thing, you say \o/) version of the aforementioned docs.

As part 1 of the series, I am noting the basics of readables && writables, and their respective APIs. Stay tuned for the notes on implementing these lil things!

Edit: You can now also read through part 2 of these sketchnotes.

what are streams even; and a lil’ intro to writables

writables writables writables writables; i did say writables, right?

wowowoow readables got modes

readable API and Events!

readables! Continued!

As a friendly wave, want to remind you these are sketch notes, so I advise you to look at the documentation for a more detailed examples of the way a certain method works.

Thanks for reading through, yo; you’re dope 💯.