Skip to content

Raynos/stream-handbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

introduction

This document covers the basics of how to write node.js programs with streams.

"We should have some ways of connecting programs like garden hose--screw in
another segment when it becomes when it becomes necessary to massage data in
another way. This is the way of IO also."

Doug McIlroy. October 11, 1964


basics

readable

writable

pipe

backpressure


builtin streams

fs.createReadStream()

fs.createWriteStream()

net.connect()

net.createServer()

http.request()

http.createServer()


control streams

through

pause-stream

concat-stream

duplex

mux-demux

emit-stream

invert-stream

map-stream

remote-events


state streams

cdrt

delta-stream


io streams

request

reconnect

kv


parser streams

tar

trumpet

JSONStream

json-scrape

trumpet


browser streams

shoe

domnode

sorta

graph-stream

arrow-keys


rpc streams

dnode

rpc-stream


test streams

tap

About

how to write node programs with streams

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published