internal.Readable - Node documentation
class internal.Readable
extends ReadableBase

Usage in Deno

import { internal } from "node:stream";
const { Readable } = internal;

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.