Process large amounts of data piece by piece instead of loading everything into memory at once.
Streams allow Node.js to process data gradually as it becomes available. Instead of reading a huge file or response completely into memory, your application can work with smaller chunks of data as they arrive.
Node.js provides readable, writable, duplex, and transform streams. Streams are especially important for file processing, HTTP requests, video, and other large data transfers. Concepts such as piping and backpressure help applications process data efficiently without overwhelming memory.
What you'll walk away knowing