Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beace/react-filedownload
react filedownload, transfrom json array to xlsx file
https://github.com/beace/react-filedownload
file-saver filedownloader react xlsx
Last synced: 11 days ago
JSON representation
react filedownload, transfrom json array to xlsx file
- Host: GitHub
- URL: https://github.com/beace/react-filedownload
- Owner: Beace
- Created: 2018-02-07T09:38:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T04:11:19.000Z (almost 7 years ago)
- Last Synced: 2024-10-30T09:18:08.817Z (about 2 months ago)
- Topics: file-saver, filedownloader, react, xlsx
- Language: JavaScript
- Size: 1.01 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## react-filedownload
Transform [JSON Array] to a xlsx file **Only FontEnd**.
## How to use
```js
import json2xlsx from 'path/to/json2xlsx';
json2xlsx.sendFile(name, sheetName, titles, rows);
```> more details in [example](https://github.com/BeAce/react-filedownload/blob/master/example/index.js)
## Thanks && Based on
- ["file-saver": "^1.3.3"](https://github.com/eligrey/FileSaver.js/)
- ["xlsx": "^0.11.19"](https://github.com/SheetJS/js-xlsx)## Version
0.0.1
## License
MIT