Visit complete Node.js roadmap
Node.js Topic

Nodejs streams

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.

  • Readable: streams from which data can be read.
  • Writable: streams to which we can write data.
  • Duplex: streams that are both Readable and Writable.
  • Transform: streams that can modify or transform the data as it is written and read.

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

Visit the following resources to learn more:

More Topics

Explore related content

View All Topics
Loved by 100K+ Developers

Start Your Learning
Journey Today

Join thousands of developers who are leveling up their skills with structured roadmaps and expert guidance

No credit card required
Always free
Track your progress