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

x/clippy/deps.ts>streams.writerFromStreamWriter

cross-platform Deno library for writing and reading clipboard.
Go to Latest
function streams.writerFromStreamWriter
import { streams } from "https://deno.land/x/clippy@v0.2.0/deps.ts";
const { writerFromStreamWriter } = streams;

Create a Writer from a WritableStreamDefaultWriter.

Parameters

streamWriter: WritableStreamDefaultWriter<Uint8Array>

Returns

Deno.Writer