Streams
The Node.js streams API ↗ is the original API for working with streaming data in JavaScript, predating the WHATWG ReadableStream standard ↗. A stream is an abstract interface for working with streaming data in Node.js. Streams can be readable, writable, or both. All streams are instances of EventEmitter.
Where possible, you should use the WHATWG standard "Web Streams" API ↗, which is supported in Workers ↗.
Refer to the Node.js documentation for stream
↗ for more information.