Skip to main content
Module

x/copy_paste/mod.ts>read

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

Reads/pastes raw data from the system clipboard.

const pastedData = await read();

Returns

Promise<Uint8Array>