3 ms·
We use jszip for parsing xlsx/xlsm/xlsb files in the browser (Excel 2007+ files are zip files that contain XML or binary files in specific locations): https://g
by sheetjs 12y ago
We use jszip for parsing xlsx/xlsm/xlsb files in the browser (Excel 2007+ files are zip files that contain XML or binary files in specific locations): https://github.com/SheetJS/js-xlsx https://github.com/SheetJS/js-xlsx
JSZip works well for small files, but unzipping XLSB files larger than 50M seem to cause out of memory issues in Firefox
- stu_k 12y agoThis project is great, because it's something I never envisioned for the library! You may want to take a look at the master branch, because we've recently updated our inflate/deflate implementation to use the much faster Pako, https://github.com/nodeca/pako https://github.com/nodeca/pako
- TazeTSchnitzel 12y agoHave you considered zip.js instead? It claims to work with files up to 4GB. It also can zip large files without any issues for me in Firefox.
- sheetjs 12y agoWhen we first evaluated options, zip.js only supported IE9+ (and IE6-8 were still relevant browsers) while JSZip supports IE6+. In fact, the Base64 text box was introduced in http://oss.sheetjs.com/js-xlsx/ http://oss.sheetjs.com/js-xlsx/ specifically to test IE6-9 (which do not support the HTML5 File API)
- TazeTSchnitzel 12y agoI see. Inevitably its support for older browsers makes it slower, however.