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 Writable.fromWeb
import { Writable } from "https://deno.land/std@0.161.0/node/_stream.d.ts";

A utility method for creating Writable from a WritableStream.

Parameters

writableStream: globalThis.WritableStream
optional
options: Pick<WritableOptions,
| "decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>

Returns

Writable