Skip to main content
internal.Readable - node__stream.d.ts - Node documentation
class internal.Readable
extends ReadableBase

Usage in Deno

```typescript import { internal } from "node:node__stream.d.ts"; ```

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`.