# 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.

![Cheat sheet: Streams: Big Files a Piece at a Time](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/27b4a1436f6f4f2ca072852822ebb6b7.webp)

- Category: Node.js
- Level: Journeyman
- Tags: Backpressure, CSV File, nodejs, Pipeline (nodejs), Streams, web-development
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-streams-big-files-cheat-sheet
