citizen-excel-export

excel download

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
citizen-excel-export
1.0.24 months ago4 months agoMinified + gzip package size for citizen-excel-export in KB

Readme

🐟🐟🐟# 下载 🐟🐟🐟 ``` npm i citizen-excel-export -S ```
下载
``` const excel = require('codersole-excel-export') 点击事件 = function() {
// ....
// excel.download(文件名, excel标题数组类型, excel数据)
excel.download('测试文件', ["编号", "姓名"], [
{ id: 1, title: "a" },
{ id: 2, title: "b" },
])
// ....
} ```