clipboardy
Access the system clipboard (copy/paste)
Clipboardy is a cross-platform JavaScript package for reading from and writing to the operating system clipboard. It provides asynchronous clipboard operations as well as synchronous methods where the platform supports them. Text copying and pasting works across macOS, Windows, Linux, OpenBSD, FreeBSD, Android through Termux, and modern browsers. Browser usage relies on the standard Clipboard API and therefore requires a secure context such as HTTPS. On macOS, the package also supports copying multiple image files, reading clipboard images into temporary files, and checking whether image data is present. ...