My Blog

My WordPress Blog

My Blog

My WordPress Blog

What are streams in Node.js?

Streams are objects that enable you to read data or write data continuously.

There are four types of streams:

Readable – Used for reading operations

Writable − Used for write operations

Duplex − Can be used for both reading and write operations

Transform − A type of duplex stream where the output is computed based on input

What are streams in Node.js?

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top