1.1.2 • Published 2 years ago
@ignhycord/copy-clip v1.1.2
copy-clip
A simple package to copy text, contents of a file into the clipboard outside browsers (server side)
Install
$ npm i @ignhycord/copy-clip
Example
const { copy } = require('@ignhycord/copy-clip');
copy('Text to Copy');
// To copy file contents
copy('./path/to/file.extension', { copyFromFile: true });