read-excel-file
Reasonable, with limits. 3rd of 8 CSV and Excel files.
read-excel-file is a small, MIT-licensed library that only reads .xlsx files, in the browser or in Node.js. Its main extra is a schema that turns rows into typed, validated JSON objects. It is a good fit for spreadsheet upload and import features. It cannot write files, and it does not read .xls or CSV files. One person maintains it, and frequent major versions have changed its API.
Best for: Web apps that import user-uploaded .xlsx files and want rows checked against a schema and turned into typed objects.
Scores
Overall6.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
For importing .xlsx files in a web app, it is a solid, actively maintained pick, and its schema validation is a real advantage. Most projects in this category also need to write files or read CSV and .xls. For that, ExcelJS, SheetJS or a CSV parser covers more, and those are more widely used. One maintainer, frequent breaking changes and little independent validation keep it in the middle tier.
- unpkg.com/read-excel-file@9.3.10/README.md: Features, limits and breaking changes
- pkgpulse.com/guides/sheetjs-vs-exceljs-vs-node-xlsx-excel-files-node-2026: Peers cover more formats and also write files
- dependents: Fewer dependent repositories than its main peers
GPT-6.2 Sol: 7.3, likely 6.3 to 8.3
For a new project importing known .xlsx templates, built-in schema mapping and active npm maintenance make this a strong pick. SheetJS covers more formats, and ExcelJS offers a streaming reader for larger imports. The range reflects limited evidence on current production use and the risk of further breaking upgrades under a single publisher.
- github.com/catamphetamine/read-excel-file/blob/master/README.md: Documents the typed import workflow and migration across versions 6 through 9.
- npm versionsLastYear and latestPublishedAt: 45 versions published in the past year, with the latest on November 19, 2026.
- docs.sheetjs.com/docs/miscellany/formats: SheetJS covers .xlsx, CSV, legacy Excel, and other spreadsheet formats.
- simple-excel.getjetstream.app/docs/comparison: Compares the in-memory import API with ExcelJS's streaming reader.
- intel.aikido.dev/packages/npm/read-excel-file: npm publishing depends on one account.
Needed by many4.1
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Many web apps need to import spreadsheets, but this tool covers only one part of the category: reading .xlsx files. It does not write files or handle CSV or .xls, so it serves a clear but limited group.
- github description: Reads *.xlsx files in a browser or Node.js only
- npm-compare.com/excel4node,exceljs,read-excel-file,xlsx: Described as a read-only tool for files that users upload
GPT-6.2 Sol: 4.2, likely 3.1 to 5.3
Excel uploads are useful in admin tools, business apps, and data pipelines, and the library works in browsers and Node.js. Its focus on reading .xlsx covers one part of the category. Developer surveys give little basis for estimating how many teams need that specific workflow.
- github.com/catamphetamine/read-excel-file/blob/master/README.md: Documents the .xlsx-only import workflow and supported runtimes.
- docs.sheetjs.com/docs/miscellany/formats: Shows the broader range of formats that spreadsheet tools can serve.
- 2025.stateofjs.com/en-US/other-tools: The survey provides no package-specific estimate for this workflow.
Helps a lot6.9
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
It does .xlsx import well. The schema parsing, typed errors, worker support and TypeScript types are better than most readers offer. Its limits are clear: it cannot write files, it rejects .xls, it does not stream large files, it reads only cached formula values, and dates are inferred from cell formatting. The API changed so often recently that AI agents often write code for an older version.
- unpkg.com/read-excel-file@9.3.10/README.md: Lists schema features, the .xlsx-only limit, the benchmarks and the v7–v9 breaking changes
- pkgpulse.com/guides/sheetjs-vs-exceljs-vs-node-xlsx-excel-files-node-2026: SheetJS and ExcelJS cover more formats and also write files
GPT-6.2 Sol: 7.7, likely 6.7 to 8.7
Version 9.3.20 provides a clear path from a worksheet to typed objects, with cell-level errors and documented examples for both runtimes. It materializes rows and reads cached formula values, which limits large imports and workflows that need formula text. External tests document those limits, while performance across typical uploads and coding-agent reliability remain less well measured.
- npm latestVersion and hasTypes: Stable version 9.3.20 ships TypeScript declarations.
- github.com/catamphetamine/read-excel-file/blob/master/README.md: Documents schema mapping, row and column errors, and cached formula behavior.
- github.com/burakdede/lorepack/issues/113: A v9 evaluation found high memory use and ruled it out for formula-text extraction.
- simple-excel.getjetstream.app/docs/comparison: A competing maintainer praises schema mapping and documents the lack of row streaming.
Holds up over time6.5
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
Maintenance is very active: 45 versions in the last year, a push two days before collection, and only 3 open issues. One unpaid maintainer does the work, and the main repository is on GitLab, so the GitHub numbers undercount activity. Three major versions with renamed APIs in a short time add upgrade cost.
- npm versionsLastYear: 45 versions; latest is 9.3.20, published 2026-11-19
- github commitsLastYear: 51 commits from 7 contributors
- github.com/catamphetamine/read-excel-file: The GitHub repository is a backup, the main one is on GitLab, and one maintainer is listed
GPT-6.2 Sol: 7.0, likely 5.8 to 8.2
The project logged 51 commits and 45 npm versions in a year, with recent fixes and patches from outside contributors. That release cadence is stronger than ExcelJS's, and a recent browser compatibility report received a maintainer reply in two days. A single npm publishing account and repeated changes to imports and schema APIs leave more uncertainty about the next two years.
- github commitsLastYear, npm versionsLastYear and latestPublishedAt: 51 commits, 45 npm versions, and a November 19, 2026 publication.
- peers ExcelJS: Zero commits in the supplied year and last npm publication in October 2023.
- github.com/catamphetamine/read-excel-file/blob/master/CHANGELOG.md: Records recent contributor fixes and changes across major versions.
- github.com/catamphetamine/read-excel-file/issues/129: A maintainer replied after two days and described a planned worker option.
- intel.aikido.dev/packages/npm/read-excel-file: Reports one account with npm publish access.
Used widely4.7
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Downloads rose about 29 times in a year, from 0.72M to 20.9M per 4 weeks, against a median ratio of 4.1. A jump that sudden most likely comes from another popular package now installing it, not from many developers choosing it. The 1,359 dependent repositories are a better measure. That is below node-xlsx (2,125) and ExcelJS (4,295), and far below SheetJS and Papa Parse, which suggests a few thousand to tens of thousands of real users.
- npm downloadsLast4Weeks: 20.9M now vs 0.72M a year ago, a jump that looks like installs pulled in by another package
- dependents: 1,359 repositories and 90 packages
- github stars: 331 stars, far below its peers
GPT-6.2 Sol: 4.3, likely 3.1 to 5.7
Four-week downloads reached 20.9 million, about 29 times the prior-year window and well above the catalog median of 4.1 times. The 1,359 tracked dependent repositories trail node-xlsx and ExcelJS, and public discussion is sparse in the tracked channels. Downloads include automated and indirect installs, while browser CDN use can escape npm counts, so the number of projects choosing it remains hard to pin down.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 20,928,382 versus 719,381 downloads, or about 29 times year over year against a 4.1-times median.
- dependents and peers dependentRepos: 1,359 tracked repositories and 90 packages. Node-xlsx has 2,125 tracked repositories and ExcelJS has 4,295.
- github stars, hackerNews stories and bluesky posts: 331 stars and no matched Hacker News stories or Bluesky links.
- github.com/catamphetamine/read-excel-file/blob/master/README.md: Documents direct browser use through a CDN.
Vouched for4.0
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
No independent benchmarks, survey entries, Hacker News stories or Bluesky posts mention it. Comparison sites list it as a reasonable choice for importing files, but those pages are generated summaries, not hands-on reviews. No well-known company or framework is known to build on it.
- hackerNews / bluesky: 0 stories and 0 posts
- npm-compare.com/excel4node,exceljs,read-excel-file,xlsx: Recommended only for imports in browser forms and admin panels
GPT-6.2 Sol: 5.0, likely 3.7 to 6.3
Siemens lists an older release in its Battery Passport frontend, and a developer reports using the library successfully for .xlsx imports. A recent engineering evaluation found that it fell short for formula text and large files. Evidence of current production deployments and developer satisfaction is limited.
- cache.industry.siemens.com/dl/files/373/109975373/att_1343342/v1/BatteryPassportFrontend__v2.0.0__ClearingReport.pdf: Siemens lists version 5.8.7 in its Battery Passport frontend component inventory.
- reddit.com/r/node/comments/1fvdzk3/best_package_for_converting_xlsx_to_json: A developer reports switching successfully for .xlsx-to-JSON work.
- github.com/burakdede/lorepack/issues/113: A current evaluation found limits for formula preservation and memory use.
- 2025.stateofjs.com/en-US/other-tools: No package-specific satisfaction or retention result.
Safe6.5
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.0 to 7.5
It has no known advisories, only 4 small dependencies and an MIT licence. Its OpenSSF Scorecard is weak at 3.8, with no branch protection, no security policy and little code review. One person publishes all releases, which is a single point of failure for the supply chain.
- advisories total: 0 advisories
- scorecard score: 3.8 overall; Branch-Protection, Security-Policy and SAST all score 0
- npm dependencies: 4 runtime dependencies
GPT-6.2 Sol: 6.4, likely 5.1 to 7.8
The library uses the permissive MIT license, has four direct runtime dependencies, and has no known direct advisories in the sources checked. The release script runs tests, but one npm account can publish and the latest release lacks a reported build attestation. The GitHub Scorecard flags weak review and branch protection, and the repository has no detected security policy. Those gaps leave uncertainty about release integrity and how vulnerabilities would be handled.
- advisories total, npm dependencies and npm license: Zero OSV advisories, four direct dependencies, and an MIT license.
- scorecard score and checks: 3.8 out of 10, with code review at 2 and branch protection, fuzzing, and security policy at 0.
- github.com/catamphetamine/read-excel-file/blob/master/package.json: The npm prepublish script builds the package and runs tests.
- intel.aikido.dev/packages/npm/read-excel-file: Reports a single npm publisher and no build attestation for the current release.
- security.snyk.io/package/npm/read-excel-file/9.3.20: Lists no known direct vulnerabilities for the current version.
Good
- A built-in schema maps columns to typed fields, checks required values and returns errors with row and column numbers.
- Few dependencies (fflate, saxen and an unzipper), with separate builds for browser, Node.js, universal and Web Worker use.
- Very active: 45 npm versions and 51 commits in the last year, and no known security advisories.
- Ships TypeScript types, and its published benchmarks are reasonable (about 0.5 s for a 10 MB file).
Bad
- It only reads files: it cannot write files, and it does not support .xls, .ods or CSV.
- Major versions 7, 8 and 9 came close together and renamed exports, options and return shapes, so older tutorials and AI-written code often break.
- One person maintains it, and the GitHub repository is only a backup of the GitLab one.
- It does not stream: XML parsing runs synchronously, and formulas are read from cached values only.
The numbers
- npm downloads, 4 weeks
- 21M ×29 in a year
- GitHub stars
- 331
- Commits, 12 months
- 51
- npm version
- 9.3.20 Nov 2026
- Versions, 12 months
- 45
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 3.8 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (catamphetamine/read-excel-file), npm (read-excel-file), OSV and the OpenSSF Scorecard.
CSV and Excel files
- 7.8node-csv
- 7.6Papa Parse
- 6.7read-excel-file
- 6.5fast-csv
- 6.4write-excel-file
- 5.8SheetJS
- 5.2node-xlsx
- 4.2ExcelJS