Nodejs streams

Streams are a type of data handling methods and are used to read, write or transform chunks of data piece by piece without keeping it in memory all at once. There are four types of streams in Node.js.

Multiple streams can be chained together using pipe() method.

Visit the following resources to learn more: