excel-xlsx
v1.0.2
Published
export excel to xlsx file
Downloads
23
Readme
excel-xlsx
导出 xlsx 格式的 excel 文件
Features
- 准备数据开箱即用
- 适合纯前端场景、数据量较小
Installation
npm install excel-xlsx --save
Usages
const EXPORT_XLSX = require('excel-xlsx');
const headerData = [ { label: '日期', prop: 'time' }, { label: '金额', prop: 'money' } ];
const listData = [ { time: '2018', money: '234.21' }, { time: '2019', money: '1234.21' } ];
EXPORT_XLSX(headerData, listData, 'tableName');
Issues
Submit the issues if you find any bug or have any suggestion.
Contribution
Fork the repository and submit pull requests.
Release Notes
see CHANGELOG