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