finds.dev← search

// the find

jeresig/node-stream-playground

★ 472 · JavaScript · MIT · updated Jan 2020

Explore Node.js streams with an interactive playground.

An interactive browser-based playground for exploring Node.js streams, built by John Resig circa 2013. You wire up readable/transform/writable blocks visually and see exactly what data flows through each pipe step. Useful for developers who learn by poking at things rather than reading docs.

Step-by-step event logging at each pipe stage is genuinely useful for understanding stream internals — most tutorials just show the happy path. The block system in blocks.js is dead simple to extend: one function, one return value, done. Ships with real input files in multiple formats and encodings, so you're testing against actual data rather than toy strings. John Resig built it, so it got enough attention to be reasonably polished for what it is.

Last touched in 2020, depends on Node.js stream APIs from the 0.10/0.12 era — streams3 and the modern readable-stream interfaces have moved on. The README explicitly warns about unknown security posture around server-side code execution, which is a real concern if anyone tries to host this publicly. No tests anywhere. The playground targets streams v1/v2 mental models, so learners coming in fresh today will encounter patterns that don't match current Node LTS documentation.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →