excel-xlsx

1.0.2 • Public • Published

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

/excel-xlsx/

    Package Sidebar

    Install

    npm i excel-xlsx

    Weekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    4.75 kB

    Total Files

    8

    Last publish

    Collaborators

    • bigang.ybg