Streams: Big Files a Piece at a Time

A stream moves a file or a response a piece at a time instead of loading it whole, so pipeline from node:stream/promises can copy a huge file, readline can read a big CSV line by line, and an Express route can send a CSV export without holding it in memory.

By

Updated

Cheat sheet: Streams: Big Files a Piece at a Time
Category
Node.js
Level
Journeyman
Tags
Backpressure, CSV File, nodejs, Pipeline (nodejs), Streams, web-development