A lightweight library to build excel sheet with JavaScript
// readme
javascript-excel
2.0 is a from-scratch rewrite, now in beta (
2.0.0-beta.xon thenextdist-tag). The beta builds sheets from{ columns, data }datasets (fromDataset,fromDatasets, andtoDatasetfor the way back), writes complete.xlsxfiles (cells, styles and sheet features), reads.xlsxfiles (javascript-excel/read), parses and serializes CSV (javascript-excel/csv), turns HTML tables into sheets and downloads files (javascript-excel/dom), runs big jobs in a Web Worker (javascript-excel/worker), renders values with Excel number formats (javascript-excel/format), computes what a sheet viewer draws (javascript-excel/render), and imports usersβ.xlsx/.csvfiles as datasets (javascript-excel/import). The 2.0.0 feature set is complete; changes before 2.0.0 should be limited to fixes found in testing.The last 1.x release is
javascript-excel@1.0.3on npm. Keep using it until 2.0 is released.
Goal
A TypeScript library, with no runtime dependencies, for reading and writing .xlsx and .csv files in browsers, Web Workers and Node 22+.
Using it: start with the [packageβ¦