Interview Hub
Sign in

Q17: Readable vs Writable vs Transform streams?

MidNode.js 29

Answer

Readable produces data (e.g. fs.createReadStream), Writable consumes it, Transform duplexes with a mapping in between. Backpressure: pipe coordinates so fast producers don’t overwhelm slow consumers. Good for large files and composable I/O.

Having a tech or coding interview? Check 29 JavaScript & Node.js interview questions.

EditorJavaScript · local only
Readable vs Writable vs Transform streams? | TorqStudio Interview Hub