clipboard-polyfill
v4.1.0 clipboard HTML5 copy copying cut paste execCommand setData getData and 2 more...
build
node script/build.js && npx tsc --project tsconfig.json
build-demo
node script/build-demo.js
test
npm run build && npm run build-demo && npm run lint && npm run test-bun && npm run test-no-es6-browser-globals
mock-test
./script/mock-test.bash
test-no-es6-browser-globals
node dist/es6/clipboard-polyfill.es6.js
test-bun
bun script/test-bun.ts
dev
node script/dev.js
lint
npx @biomejs/biome check ./script ./src
format
npx @biomejs/biome format --write ./script ./src
clean
rm -rf ./dist
prepack
npm run clean && npm run build
npm i clipboard-polyfill
Metadata
- MIT
- Whatever
- Lucas Garron
- released 4/24/2024