# node-xlsx: 5.2 out of 10

Reasonable, with limits. 7th of 8 in [CSV and Excel files](https://elestia.ai/opensource/spreadsheets/index.md).

node-xlsx is a small Node-only wrapper that bundles SheetJS Community Edition 0.20.3 and turns Excel workbooks into arrays of rows and back. It is fine for quick array-to-xlsx exports. For new work, SheetJS used directly or ExcelJS gives more control, and its usage is growing much more slowly than its peers'.

**Best for:** Node developers who only need to turn arrays of rows into .xlsx files, or read them back, with a two-function API.

## Scores

- **Overall: 5.2** (likely 4.1 to 6.2)
  - Claude Opus 5.5 (4.5): It works for simple Node exports, and v0.25 fixed install and type problems. Still, it adds little over SheetJS, has one slow-moving maintainer and is losing share to its peers. For new work, use SheetJS directly or ExcelJS for Excel files, and Papa Parse or csv-parse for CSV.
  - GPT-6.2 Sol (5.8): The small API and plain npm install make node-xlsx a reasonable option for simple Excel imports and exports in Node.js. SheetJS gives teams more direct control over spreadsheet data, ExcelJS offers workbook styling and streaming, and node-csv gives CSV-heavy projects dedicated streaming tools. The long release gap and below-baseline adoption growth temper the recommendation despite the useful November update.
- **Needed by many: 4.6** (likely 3.5 to 5.8)
  - Claude Opus 5.5 (5.0): Many backend apps need to import or export Excel files, but node-xlsx serves only Node, not browsers. It covers xlsx workbooks and not the CSV parsing that much of this category does. That makes it narrower than the category.
  - GPT-6.2 Sol (4.2): Spreadsheet import and export comes up in reporting, admin tools, and data exchange. This package serves the Node.js part of that work and can handle basic CSV through SheetJS. The runtime survey shows that Node.js is widely used, while the share of developers who need spreadsheet handling is harder to estimate.
- **Helps a lot: 5.5** (likely 4.4 to 6.5)
  - Claude Opus 5.5 (4.5): Simple reads and writes work well, because the SheetJS engine underneath is solid. The array abstraction hides cell types and formats, and styling and streaming are missing. Reliability issues stay open for years. Peers such as SheetJS and ExcelJS do the same job with much more control.
  - GPT-6.2 Sol (6.4): The typed API and short examples make simple imports and exports easy to implement. Version 0.25.0 fixes legacy text decoding and uses a more memory-efficient representation for most reads, but the API still loads whole workbooks. ExcelJS offers richer styling and streaming for XLSX, and there is little independent performance data for node-xlsx 0.25.0.
- **Holds up over time: 4.5** (likely 3.2 to 6.0)
  - Claude Opus 5.5 (4.0): A single maintainer keeps it alive. One release came out in the last year, after a gap of about 18 months. Its future depends on the maintainer copying in new SheetJS builds by hand. v0.25 was a useful update, but most issues go unanswered for years.
  - GPT-6.2 Sol (4.9): The November release resolved a reported install problem and landed useful compatibility fixes after more than two years between releases. The repository recorded 12 commits in the past year, and the public release history shows one regular releaser. The recent work is encouraging, but the release gap leaves future response times uncertain.
- **Used widely: 4.0** (likely 3.0 to 5.1)
  - Claude Opus 5.5 (4.5): About 2M downloads in 4 weeks and 2,125 dependent repositories show real use, but far less than its peers. Downloads grew 1.49x in a year, well below the 4.1 median, while every peer grew 3x to 27x. It is losing ground.
  - GPT-6.2 Sol (3.5): ecosyste.ms found 2,125 dependent repositories and 658 dependent packages, fewer repositories than it found for ExcelJS or SheetJS. Four-week downloads rose from 1.38 million to 2.06 million, a 1.49× ratio against the catalog median of 4.1× and the slowest growth among the listed peers. That points to declining relative reach, while repeat installs and incomplete repository coverage leave the number of direct choices uncertain.
- **Vouched for: 3.3** (likely 2.1 to 4.6)
  - Claude Opus 5.5 (3.0): No well-known company or framework is known to build on it. It has no Hacker News or Bluesky discussion. Independent comparisons treat it as a thin wrapper and often recommend SheetJS or ExcelJS instead. Most of the trust it gets comes from SheetJS.
  - GPT-6.2 Sol (3.6): GRNsight uses node-xlsx for spreadsheet imports, and Pricefx lists it in an earlier Unity release. Both examples use older versions. There is little independent performance or user satisfaction evidence for 0.25.0, so its production track record is still hard to judge.
- **Safe: 6.0** (likely 4.7 to 7.1)
  - Claude Opus 5.5 (6.0): It has no runtime dependencies, no advisories on record and an Apache-2.0 licence. It also bundles the patched SheetJS 0.20.3 rather than the vulnerable 0.18.5 from npm. Against that, the OpenSSF Scorecard is weak at 3.8, with no code review, branch protection or security policy. One person publishes it, and an open issue reports that a crafted file freezes Node.
  - GPT-6.2 Sol (6.0): The Apache-2.0 package has no direct advisories in the bundle and installs without fetching other packages. Its embedded SheetJS 0.20.3 includes fixes for two upstream advisories, and future fixes require a node-xlsx update that lockfile scanners may have trouble tracking. The 3.8 OpenSSF Scorecard, with zeroes for code review, branch protection, and token permissions, limits confidence in the release process.

## Good

- The API is very small: parse() returns arrays of rows, and build() takes named sheets of arrays.
- It bundles current SheetJS 0.20.3, so it installs from npm with no dependencies and avoids the old vulnerable xlsx 0.18.5.
- It ships TypeScript types, and v0.25 added CommonJS declarations and exports of the SheetJS types.
- v0.25 switched parsing to dense mode, which is about 20% faster and uses less memory on large sheets.

## Bad

- It adds little over SheetJS, so styling, streaming and browser use are missing or limited.
- One maintainer releases it rarely: the release before v0.25 came about 18 months earlier.
- Bug reports stay open for years, including a file that freezes Node, empty data from large files and garbled characters.
- Its downloads grew far less than its peers' over the past year.

## The numbers

- Downloads, 4 weeks: 2.1M
- In a year: +49%
- GitHub stars: 3k
- Commits, 12 months: 12
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/mgcrea/node-xlsx
- npm: https://www.npmjs.com/package/node-xlsx

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
