Node.js module
stream
The 'node:stream' module provides the API for working with streaming data in Node.js, including readable, writable, duplex, and transform streams.
Streams are event emitters that process data in chunks, offering memory-efficient handling of large data flows, such as file reading/writing and network communication.
Fully supported in Bun
Fully implemented.
Classes 1
- class stream.default
The
EventEmitterclass is defined and exposed by thenode:eventsmodule.