handy-copy-to-clipboard

1.0.1 • Public • Published

Handy-Copy

The way to copy anything to clipboard

Quick links

  1. Usage

Usage with npm or Yarn

  1. First install the package with npm or Yarn.
#npm 
npm install handy-copy-to-clipboard

#or with yarn
yarn add handy-copy-to-clipboard
  1. And here comes the fun part.
import Copy from 'handy-copy-to-clipboard'
Copy({
    value: 'What you want to copy',
    done: () => {    
        console.log('Callback function called')
    }
})

Thanks for reading!!

Package Sidebar

Install

npm i handy-copy-to-clipboard

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.33 kB

Total Files

3

Last publish

Collaborators

  • tannguyenit