one-line-clipboard
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

one-line-clipboard

one function implements copy based on clipboard.js

webpack usage:

import copy from 'one-line-clipboard'

await copy('content to copy')

script usage:

<script src="https://cdn.jsdelivr.net/npm/one-line-clipboard/dist/index.js"></script>

await oneLineCopy('content to copy')

Readme

Keywords

Package Sidebar

Install

npm i one-line-clipboard

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

56.9 kB

Total Files

8

Last publish

Collaborators

  • czz5242199