Module clipboard

Provides access to the system clipboard

Properties

text:string

Set or get the clipboard content as text

get
Replies the clipboard content as text or undefined, if no clipboard content is available or if it can't be converted to a string.
set
Sets the clipboard content

var clipboard = require("clipboard");
// set the clipboard content 
clipboard.text = "Hello World!";
Name Description
Properties
text Set or get the clipboard content as text