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 |
How to set, get and clear cookies in angularjs?
How can someone make an ajax call using angularjs?
Why angular is so popular?
What is a cookie?
What is the syntax for creating a new date object?
Should I use angular?
What is impure pipe?
What is the use of @inject()?
Can't bind to ngmodel since it isn't a known property of input?
What is map in angular?
How many types of services are there in angularjs?
Why is it called angular?