Skip to main content
The Deno 2 Release Candidate is 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.153.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"
>