Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>streamUtils.writableStreamFromWriter

The best unofficial library of utilities for Deno applications
Go to Latest
function streamUtils.writableStreamFromWriter
Deprecated
Deprecated

(will be removed after 1.0.0) Use WritableStream directly.

Create a WritableStream from a Writer.

import { streamUtils } from "https://deno.land/x/dtils@2.4.0/deps.ts";
const { writableStreamFromWriter } = streamUtils;

Parameters

writer: Writer
optional
options: WritableStreamFromWriterOptions = [UNSUPPORTED]