Skip to main content
default.Writable.fromWeb - node__stream.d.ts - Node documentation
method default.Writable.fromWeb
Unstable

Usage in Deno

```typescript import mod from "node:node__stream.d.ts"; ```
Writable.fromWeb(
writableStream: streamWeb.WritableStream,
options?: Pick<WritableOptions,
"decodeStrings"
| "highWaterMark"
| "objectMode"
| "signal"
>
,
): Writable
A utility method for creating a `Writable` from a web `WritableStream`.

Parameters

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

Return Type