2017-03-20 09:02:25 +00:00
|
|
|
## Installation
|
|
|
|
|
2017-05-09 18:07:57 +00:00
|
|
|
In the browser, just add a script tag:
|
2017-03-20 09:02:25 +00:00
|
|
|
|
2017-05-09 18:07:57 +00:00
|
|
|
```html
|
|
|
|
<script lang="javascript" src="dist/xlsx.full.min.js"></script>
|
2017-03-20 09:02:25 +00:00
|
|
|
```
|
|
|
|
|
2017-09-24 23:40:09 +00:00
|
|
|
<details>
|
|
|
|
<summary><b>CDN Availability</b> (click to show)</summary>
|
|
|
|
|
2018-03-19 21:42:55 +00:00
|
|
|
| CDN | URL |
|
|
|
|
|-----------:|:-------------------------------------------|
|
|
|
|
| `unpkg` | <https://unpkg.com/xlsx/> |
|
|
|
|
| `jsDelivr` | <https://jsdelivr.com/package/npm/xlsx> |
|
|
|
|
| `CDNjs` | <http://cdnjs.com/libraries/xlsx> |
|
|
|
|
| `packd` | <https://bundle.run/xlsx@latest?name=XLSX> |
|
2017-09-24 23:40:09 +00:00
|
|
|
|
|
|
|
`unpkg` makes the latest version available at:
|
|
|
|
|
|
|
|
```html
|
|
|
|
<script src="https://unpkg.com/xlsx/dist/xlsx.full.min.js"></script>
|
|
|
|
```
|
|
|
|
|
|
|
|
</details>
|
|
|
|
|
|
|
|
|
2017-05-09 18:07:57 +00:00
|
|
|
With [npm](https://www.npmjs.org/package/xlsx):
|
2017-03-20 09:02:25 +00:00
|
|
|
|
2017-05-09 18:07:57 +00:00
|
|
|
```bash
|
|
|
|
$ npm install xlsx
|
2017-03-20 09:02:25 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
With [bower](http://bower.io/search/?q=js-xlsx):
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ bower install js-xlsx
|
|
|
|
```
|
|
|
|
|