table
导出文件,支持导出json
、txt
、csv
、xml
、doc
、xsl
、image
、 pdf
。
// dom id, filename, type: json, txt, csv, xml, doc, xsl, image, pdf
tableExport('table1', 'test', 'image');
git clone [email protected]:huanz/tableExport.git
cd tableExport
npm i
// 开发
npm run dev
// 构建个人版本
MODULES='doc xls image' npm run build