UNPKG
get-selected
Version:
latest (1.0.0)
1.0.0
Get selected text from any window
github.com/Lunuy/get-selected
Lunuy/get-selected
get-selected
/
README.md
12 lines
(9 loc)
•
220 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
# get-selected
get
selected
text
(
currently support only windows
) ```js
const
{ getSelected, getSelectedSync } = require(
"get-selected"
); setInterval(() => { console.log(getSelectedSync()); },
500
); ```