Simple copy to clipboard. No Flash.

## Install
You can get it on bower.
```bash
bower install copy --save
```
Or npm, too.
```bash
npm install copy-js --save
```
If you're not into package management, just [[download a ZIP]](https://github.com/duyet/copy.js/archive/master.zip) file.
## Setup
First, include the script located on the dist folder.
```html
<script src="dist/copy.min.js"></script>
```
Or load it from CDN provider.
```html
<script src="//cdn.rawgit.com/duyetdev/copy.js/master/dist/copy.min.js"></script>
```
## Usage
Just copy:
```js
copy('hello world.')
```
With `callback`:
```js
copy('hello world', function (err) {
if (err) console.log('Some thing went wrong!')
console.log('Copied!')
})
```
That's it!
Visit project source code here: [https://github.com/duyet/copy.js](https://github.com/duyet/copy.js)