Created
November 10, 2018 18:09
-
-
Save jgwill/1af7e959d3fa7d1a77841675aa60d991 to your computer and use it in GitHub Desktop.
@stcgoal Getting clipboard in NodeJS, thanks to : https://github.com/sindresorhus/clipboardy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//@stcgoal Getting clipboard in NodeJS, thanks to : https://github.com/sindresorhus/clipboardy | |
const clipboardy = require('clipboardy'); | |
//clipboardy.writeSync('🦄'); | |
var r = clipboardy.readSync(); | |
// | |
console.log(r); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment