1.1.0 • Published 4 years ago

clipboard-tool v1.1.0

Weekly downloads
4
License
LGPL-3.0
Repository
github
Last release
4 years ago

clipboard-tool

Build Status Dependencies Development Dependencies

npm

Example

var Clipboard = require('clipboard-tool');

// Write the string 'Hello' to the system's clipboard
Clipboard.write('Hello');

This package needs document.execCommand('copy') to work and has no effect otherwise.

If you are creating a Chrome or Opera extension, be sure to include the clipboardWrite permission in your manifest.

Contributing

Download source and compile:

git clone git@github.com:[USERNAME]/clipboard-tool.git
yarn prepublish

Watch for changes and recompile:

yarn start
1.1.0

4 years ago

1.0.7

8 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago