Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs copy to clipboard

// npm i clipboardy@2.3.0  
const clipboardy = require("clipboardy");

// Copy
clipboardy.writeSync("something");

// Paste
clipboardy.readSync();
// something
 
PREVIOUS NEXT
Tagged: #nodejs #copy #clipboard
ADD COMMENT
Topic
Name
6+4 =