custom-json2excel:传入json生成excel,可自定义表格头部名称和过滤列

时间:2024-05-22 02:55:15
【文件属性】:

文件名称:custom-json2excel:传入json生成excel,可自定义表格头部名称和过滤列

文件大小:33KB

文件格式:ZIP

更新时间:2024-05-22 02:55:15

TypeScript

custom-json2excel 更新内容 v3.1.1 修复ie下载问题 修复未指定kepMap导致的filters失效问题 增加了orderedKey字段,可指定列顺序 Plugin setup yarn add custom-json2excel or npm install custom-json2excel How to use? 方法一: 1、下载 dist 文件夹 index.js; 2、script 标签引入: [removed][removed] 3、index.html 中使用: const data = [ ... ]; const json2excel = new CustomJson2excel({ data, keyMap }); json2excel.generate(); 方法二: 1、直接转化 json: impor


【文件预览】:
custom-json2excel-master
----.gitignore(13B)
----tsconfig.json(349B)
----README.md(8KB)
----rollup.config.js(418B)
----package.json(1KB)
----dist()
--------index.js(4KB)
--------index.d.ts(1KB)
----src()
--------index.ts(8KB)
----babel.config.js(111B)
----yarn.lock(89KB)
----demo()
--------index.html(893B)

网友评论