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

x/clippy/deps.ts>io.copyN

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

Copy N size at the most. If read size is lesser than N, then returns nread

Parameters

Reader

dest: Writer

Writer

size: number

Read size

Returns

Promise<number>