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 Writable.fromWeb
import { Writable } from "https://deno.land/std@0.177.1/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