v1.1.0
Copy/paste functionality for Deno. Compatible with macOS, Windows and Linux.
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
std
deno_copy_paste
Copy/paste functionality for Deno.
Usage
Write/copy raw data
import { write } from "https://deno.land/x/copy_paste/mod.ts";
const input = await Deno.readFile("file_to_copy.png");
await write(input);
Write/copy text
import { writeText } from "https://deno.land/x/copy_paste/mod.ts";
await writeText("text to copy");
Read/paste raw data
import { read } from "https://deno.land/x/copy_paste/mod.ts";
const copiedData = await read();
Read/paste text
import { readText } from "https://deno.land/x/copy_paste/mod.ts";
const copiedText = await readText();
Testing
deno task test