Skip to main content
Module

x/copy_paste/mod.ts>write

Copy/paste functionality for Deno. Compatible with macOS, Windows and Linux.
Latest
function write
import { write } from "https://deno.land/x/copy_paste@v1.1.3/mod.ts";

Writes/copies raw data to the system clipboard.

await write(await Deno.readFile("file_to_copy.png"));

Parameters

input: Uint8Array

Returns

Promise<void>