1.0.2 • Published 4 years ago
simple-copy-to-clipboard v1.0.2
Getting started
- install package
- import function
copy
in your code. For example
import copy from 'simple-copy-to-clipboard';
- run function passed your text there. For example
copy('your awesome text');
- if all right, function returns
true
. If fail, returnsfalse
. - Enjoy :)
Package size and code
index.js size is 0.642 kb I download it from internet and didnt want paste it manually. I like use stuff like this via node-modules.
compability
Have not full list, but it supports even old browsers.