pipe()

The Readable stream method that sends all its data into a Writable, pausing and resuming automatically to respect backpressure.

In more detail

pipe() does not forward errors or destroy the other streams when one fails, which can leak file descriptors and memory. pipeline() fixes that and is preferred.

Related terms

Taught in

References