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

Usage in Deno

```typescript import { internal } 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