What are “streams” in node.js? Explain the different types of streams present in node.js?



What are “streams” in node.js? Explain the different types of streams present in node.js..

Answer / Divya Gupta

Streams in Node.js are objects that allow the reading, writing, and transforming of data in a streamable fashion. The two main types of streams are Readable Streams (for reading data) and Writable Streams (for writing data). Additionally, there are Duplex Streams that combine both readable and writable functionality, and Transform Streams that can transform input data as it is streamed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

How to set, get and clear cookies in angularjs?

1 Answers  


How can someone make an ajax call using angularjs?

1 Answers  


Why angular is so popular?

1 Answers  


What is a cookie?

1 Answers  


What is the syntax for creating a new date object?

1 Answers  


Should I use angular?

1 Answers  


What is impure pipe?

1 Answers  


What is the use of @inject()?

1 Answers  


Can't bind to ngmodel since it isn't a known property of input?

1 Answers  


What is map in angular?

1 Answers  


How many types of services are there in angularjs?

1 Answers  


Why is it called angular?

1 Answers  


Categories