SheetJS (xlsx-republish)

A drop-in npm mirror of the SheetJS Community Edition for reading and writing spreadsheets.

Library
npm
v0.20.3
36,321stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
47/100Fair
Development Activity0
Maintenance0
Community88
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
77/100Good
Architecture85
Code Quality78
Innovation80
Learning Curve65

xlsx-republish is an npm distribution of the SheetJS Community Edition, the widely used JavaScript toolkit for parsing and writing spreadsheet files. SheetJS stopped publishing its xlsx package to the public npm registry, so this package automatically republishes each new Community Edition release from the official SheetJS CDN under a registry-installable name. Functionally it is SheetJS: it reads and writes XLSX, XLS, CSV, ODS and many other formats with a single normalised worksheet model.

What You Get

  • Read and write support for XLSX, XLSM, XLSB, XLS, CSV, ODS and more
  • A single normalised workbook/worksheet data model regardless of source format
  • Utilities to convert sheets to and from JSON, CSV and HTML tables
  • Cross-runtime support across Node.js, browsers, Deno and Bun
  • Registry-installable access to SheetJS Community Edition without the SheetJS CDN

Common Use Cases

  • Importing user-uploaded Excel files into a web application
  • Exporting reports and tabular data to XLSX or CSV downloads
  • Batch-converting spreadsheets between formats in a Node.js script

Under The Hood

Architecture - SheetJS parses each supported spreadsheet format into a common workbook object (a set of named worksheets, each a sparse map of cell addresses to typed cell objects) and serialises that model back out to any target format. xlsx-republish itself is only a small scheduled script that pulls new Community Edition releases from the SheetJS CDN and republishes them to npm; the shipped code is SheetJS.

Tech Stack - The library is dependency-free JavaScript that runs across Node.js, browsers, Deno and Bun. The republish automation uses zx and semver.

Code Quality - SheetJS is a mature, heavily exercised codebase with an extensive corpus of real-world test files spanning many formats and edge cases. Its long production history across the ecosystem reflects broad battle-testing.

API Design - The public API is compact — read, write, and utils helpers for JSON/CSV/HTML conversion — but its breadth of options and format quirks give it a moderate learning curve. Documentation is thorough on the SheetJS site.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search