Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Readable.fromWeb
import { Readable } from "https://deno.land/std@0.168.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