Category: Data

by It has been a very common requirement in programming; however, it is normally under-appreciated and not discussed as frequently as it should.

I will try to keep the details simple and hopefully, after reading this post you will have a better understanding of it. Once you get the hang of streams, you will see their usage in many places and will be able to harness its power in your projects.

Let's see data consumption flow in a non-streaming fashion: Now see what a stream-based data consumption brings to the table: Ok, now we have a general understanding of streams and its benefits, let's see structure and usage of streams in Node.js.

Related Articles