1.0.2 • Published 5 years ago

excel-xlsx v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

excel-xlsx

Travis npm npm

导出 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

License


npm

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago