regular-excel-clipboard
Version:
Excel Clipboard of Regular Components
69 lines (46 loc) • 1.76 kB
Markdown
# regular-excel-clipboard
[](https://www.npmjs.com/package/regular-excel-clipboard)
[](https://travis-ci.org/Deol/regular-excel-clipboard)
[](https://github.com/Deol/regular-excel-clipboard/blob/master/LICENSE)
[](https://www.npmjs.com/package/regular-excel-clipboard)
A excel-clipboard Component based on [RegularJS](https://github.com/regularjs/regular).
## DEMO
[http://aeodu.com/regular-excel-clipboard](http://aeodu.com/regular-excel-clipboard)
## Installation
```bash
$ npm install regular-excel-clipboard
```
## Usage
- CommonJS
```
var Clipboard = require('regular-excel-clipboard');
```
- Global
Include the link and the script in the browser:
```html
<!-- css -->
<link rel="stylesheet" href="//unpkg.com/regular-excel-clipboard/dist/clipboard.min.css">
<!-- RegularJS -->
<script src="https://rawgit.com/regularjs/regular/master/dist/regular.js"></script>
<!-- the excel-clipboard component -->
<script src="//unpkg.com/regular-excel-clipboard/dist/clipboard.min.js"></script>
```
## CDN
[**unpkg**](https://unpkg.com)
```sh
# css
//unpkg.com/regular-excel-clipboard/dist/clipboard.min.css
# js
//unpkg.com/regular-excel-clipboard/dist/clipboard.min.js
```
## Development
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run startdev
# build for production with minification
npm run build
```
## LICENSE
MIT