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

Usage in Deno

import { internal } 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.

Back to top