Readable Streams
Medium
33.3% Acceptance
In this lab, you will work with the ReadableStream.from()
method in Node.js. The ReadableStream.from()
method is a part of the new streams APIs that were introduced in Node.js version 16. This method is used to create a readable stream from an iterable JavaScript object (like arrays) or an async iterable object.
In this lab, you will learn how to:
- Use the
ReadableStream.from()
method - Implement the
ReadableStream
class - Pipe the readable stream into a writable one
By the end of this lab, you will have a good understanding of how to use Readable Streams and the ReadableStream.from()
method in Node.js.