shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
readText
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.clipboard
Simple function to read things from the system clipboard. This is using https://www.npmjs.com/package/clipboardy under the hood.
Return
- -String
The text to read
Example
import { copyText, readText } from '@blackbyte/sugar/clipboard';
copyText('Hello world');
readText(); // => Hello worldTodo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space