Skip to content
DocsGuidesReferenceBlog
Install
HomeDocsGuidesReferenceBlog
Install Bun v1.3.14
Reference
Modules/node:stream
  • FaddAbortSignal
  • Fcompose
  • CDuplex
  • FduplexPair
  • Ffinished
  • FgetDefaultHighWaterMark
  • FisErrored
  • FisReadable
  • FisWritable
  • CPassThrough
  • Fpipeline
  • CReadable
  • FsetDefaultHighWaterMark
  • CTransform
  • CWritable

Modules

  • Bun
  • bun:bundle
  • bun:ffi
  • bun:jsc
  • bun:sqlite
  • bun:test
  • Globals
  • node:assert
  • node:async_hooks
  • node:buffer
  • node:child_process
  • node:cluster
  • node:crypto
  • node:dgram
  • node:diagnostics_channel
  • node:dns
  • node:dns/promises
  • node:events
  • node:ffi
  • node:fs
  • node:fs/promises
  • node:http
  • node:http2
  • node:https
  • node:inspector
  • node:inspector/promises
  • node:module
  • node:net
  • node:os
  • node:path
  • node:perf_hooks
  • node:punycode
  • node:querystring
  • node:quic
  • node:readline
  • node:readline/promises
  • node:stream
  • node:stream/consumers
  • node:stream/iter
  • node:stream/promises
  • node:stream/web
  • node:string_decoder
  • node:test
  • node:test/reporters
  • node:timers/promises
  • node:tls
  • node:trace_events
  • node:tty
  • node:url
  • node:util
  • node:util/types
  • node:v8
  • node:vm
  • node:wasi
  • node:worker_threads
  • node:zlib
  • node:zlib/iter

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 1Namespaces 1

Classes 1

  • class stream.default

    The EventEmitter class is defined and exposed by the node:events module.

Namespaces 1

  • namespace stream.default