// readme

javascript-excel

2.0 is a from-scratch rewrite, now in beta (2.0.0-beta.x on the next dist-tag). The beta builds sheets from { columns, data } datasets (fromDataset, fromDatasets, and toDataset for the way back), writes complete .xlsx files (cells, styles and sheet features), reads .xlsx files (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/.csv files 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.3 on 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…