Skip to content
Experimenting with the Streams spec
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Feb 14, 2019 Update Mar 19, 2019
index.js Updated with working solution Mar 7, 2019

Experimenting with the Streams API

The code in this repo is used as an example for an article on my blog at

Streams API

The benefit of using streams is that if you are sending large chunks of data over the web, you can start processing the data immediately as you receive it, without having to wait for the full download to complete. For example, if you think of a large video file and imagine how long it might take to download the whole file. Using a stream allows you to download only the small amount of data that you need to view the video instead of the whole file - this means that you can view the video as quickly as the network takes to get you just those bytes.

In this article, I run through a simple example and show you how to get started with the Streams API in no time!

You can’t perform that action at this time.