我如何将js数组数据转换为工作表excel机智Exceljs库?

时间:2019-07-02 08:40:30

标签: javascript excel exceljs

我想用js数组数据并使用exeljs创建xls文件,我该怎么办?

我有某种类型的js数组

[
 {
  address: "well st",
  description: "180036710",
  fromTotal: 1.365
 },
 {
  address: "well st",
  description: "180036710",
  fromTotal: 1.365
 },
 {
  address: "well st",
  description: "180036710",
  fromTotal: 1.365
 }
]

如何使用此数据创建xls文件?

0 个答案:

没有答案