@pigerla/copy-paste-js
v1.0.10
Published
非常轻量的复制粘贴库(npm 包) A very light-weight copy-paste function code
Downloads
240
Readme
copy-paste-js 非常轻量的复制粘贴库
非常轻量的复制粘贴库(npm 包) A very light-weight copy-paste function code
Install 安装
npm install @pigerla/copy-paste-js
Usage 使用
import copyPaste from "@pigerla/copy-paste-js";
copyPaste(text).then((text) => {
console && console.log("Copy successfully", text);
});
Parameter 参数说明
text:the plain text which need to copy 待复制到剪切板的文本、字符串