工具
報(bào)表
js-xlsx - SheetJS 的社區(qū)版本≈缱辏可以解析和寫(xiě)入各種格式的電子表格, 如果在前端你有導(dǎo)入導(dǎo)出excel 等電子表格的需求旺入, js-xlsx是個(gè)很高的選擇贷洲。當(dāng)然,它也可以在服務(wù)端使用捂贿。
file-saver FileSaver.js implements the saveAs() interface in browsers that do not natively support it.
StreamSaver.js StreamSaver writes stream to the filesystem directly asynchronous
ejsExcel nodejs excel template engine. node export excel
canvas-datagrid - 一款高性能的镜遣、基于canvas的數(shù)據(jù)表格。 不用分頁(yè)即可支持百萬(wàn)級(jí)行數(shù)的顯示主穗。
canvas-toBlob.js canvas-toBlob.js implements the standard HTML5 canvas.toBlob() and canvas.toBlobHD()
methods in browsers that do not natively support it. canvas-toBlob.js requires Blob
support to function, which is not present in all browsers. Blob.js is a cross-browser Blob
implementation that solves this.