1.1.0 • Published 2 years ago

copy-content v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

剪切板 ClipBoard;ClipboardManager;clipbrd;Clippers

use 使用

require('copyText')("复制你需要拷贝的内容放至剪切板中;Copy what you need to copy and put it into the clipboard");

example 例子

let copyFlag = require('copyText')("abc");

if (copyFlag) {  //copyFlag==true
  //如果拷贝成功将,提示用户
  console.log("successful");
} else {
  //拷贝失败
  console.error('COPY Fail');
}