浏览器中的文件操作

工具

  • [Blob.js] Blob.js implements the W3C Blob interface in browsers that do not natively support it.

报表

  • js-xlsx - SheetJS 的社区版本。可以解析和写入各种格式的电子表格, 如果在前端你有导入导出excel 等电子表格的需求, js-xlsx是个很高的选择。当然,它也可以在服务端使用。

  • 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的数据表格。 不用分页即可支持百万级行数的显示。

  • 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.

相关

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容