【文件属性】:
文件名称:js-export-excel:json导出excel(纯js 支持中文) ES6 module
文件大小:209KB
文件格式:ZIP
更新时间:2021-05-02 16:11:11
JavaScript
js-export-excel
纯 js 导出 excel
tip
Bug please mention on
download
npm install js-export-excel
or
yarn add js-export-excel
documentation
// 直接导出文件
const ExportJsonExcel = require("js-export-excel");
var option = {};
option.fileName = "excel";
option.datas = [
{
sheetData: [
{ one: "一行一列", two: "一行二列" },
{ one: "二行一列", two: "二行二列" },
],
sheetName: "sheet",
sheetFilter: [
【文件预览】:
js-export-excel-master
----.eslintrc(51B)
----yarn.lock(159KB)
----webpack.config.js(2KB)
----src()
--------js-export-excel.js(4KB)
----.babelrc(201B)
----lib()
--------index.js(496KB)
----build.js(1KB)
----example()
--------index.html(202B)
--------main.js(676B)
----README.md(3KB)
----.gitignore(77B)
----index.js(53B)
----package.json(1KB)