How to quickly get started with VUE3.0: Enter learning
When you enter characters on the keyboard, read a file from a disk, or download a file from the Internet, a stream of information (bits) flows through different devices and applications.
If you learn to process these byte streams, you will be able to build high-performance and valuable applications. For example, imagine that when you watch a video on YouTube, you don't have to wait until the complete video is downloaded. Once there's a small buffer, the video will start playing and the rest will continue to download while you watch.
Nodejs includes a built-in module stream
that allows us to process streaming data. In this article, we will explain the usage of stream
through several simple examples. We will also describe how to build pipelines to merge different streams when building high-performance applications in complex cases.
Before we dive into application building, it's important to understand the features provided by the Node.js stream
module.
Let's get started!
Node.js stream
provides four types of streams: