Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Readable.fromWeb
import { Readable } from "https://deno.land/std@0.164.0/node/_stream.d.ts";

A utility method for creating Readable from a ReadableStream.

Parameters

readableStream: globalThis.ReadableStream
optional
options: Pick<ReadableOptions,
| "encoding"
| "highWaterMark"
| "objectMode"
| "signal"
>

Returns

Readable