DEV Community
•
2026-04-28 13:02
Stop bundling SheetJS for simple Excel exports: a 5 KB alternative
TL;DR
I open-sourced mini-xlsx, a one-function, zero-dependency XLSX builder for the browser. Around 5 KB minified. No SheetJS, no ExcelJS, no JSZip. It writes real .xlsx files that open cleanly in Excel, LibreOffice Calc, Google Sheets and Apple Numbers.
If your only requirement is to output Excel files (no reading, no formulas, no charts), you almost certainly do not need a 600 KB li...