Skip to main content
default.Readable - stream - Node documentation
class default.Readable
extends ReadableBase

Usage in Deno

import mod from "node:stream";

Static Methods

fromWeb(
readableStream: streamWeb.ReadableStream,
options?: Pick<ReadableOptions,
"encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Readable

A utility method for creating a Readable from a web ReadableStream.

toWeb(streamReadable: Readable): streamWeb.ReadableStream

A utility method for creating a web ReadableStream from a Readable.