get-selected
get selected text (currently support only windows)
const { getSelected, getSelectedSync } = require("get-selected");
setInterval(() => {
console.log(getSelectedSync());
}, 500);
get selected text (currently support only windows)
const { getSelected, getSelectedSync } = require("get-selected");
setInterval(() => {
console.log(getSelectedSync());
}, 500);
npm i get-selected
1
1.0.0
MIT
41.3 kB
6