-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathclipboardy.node.txt
22 lines (16 loc) · 1.11 KB
/
clipboardy.node.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
┏━━━━━━━━━━━━━━━━┓
┃ CLIPBOARDY ┃
┗━━━━━━━━━━━━━━━━┛
ALTERNATIVES ==> # - clipboardy
# - node-copy-paste: not maintained
VERSION ==> #4.0.0
CROSS-OS ==> # - Linux: xsel --clipboard --input|output (X utility, bundled with it)
# - Mac: pbcopy|pbpaste
# - Windows (including WSL): clipboard (bundled with it)
# - Android: termux-clipboard-get|set
# - Browser: NAVIGATOR.clipboard.writeText|readText()
# - only write|read(), not write|readSync()
write[Sync](STR)[->PROMISE] #Copy to clipboard
read[Sync](STR)->[PROMISE_]STR #Paste to clipboard
clipboard-cli #CLI module (4.0.0)
clipboard #Copy if stdin, paste otherwise