We now have a YouTube Channel. 
Visit complete Node.js roadmap

← Back to Topics List

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:

Open Source

The project is OpenSource, 6th most starred project on GitHub and is visited by hundreds of thousands of developers every month.

Roadmaps Guides Videos About YouTube

roadmap.sh by Kamran Ahmed

Community created roadmaps, articles, resources and journeys to help you choose your path and grow in your career.

© roadmap.sh · FAQs · Terms · Privacy

ThewNewStack

The leading DevOps resource for Kubernetes, cloud-native computing, and the latest in at-scale development, deployment, and management.