Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/stream.ts>Readable.fromWeb

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Readable.fromWeb
Re-export
import { Readable } from "https://deno.land/std@0.168.0/node/stream.ts";

A utility method for creating Readable from a ReadableStream.

Parameters

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