UNPKG

get-selected

Version:

Get selected text from any window

12 lines (9 loc) 220 B
# get-selected get selected text (currently support only windows) ```js const { getSelected, getSelectedSync } = require("get-selected"); setInterval(() => { console.log(getSelectedSync()); }, 500); ```