# fast-csv: 6.5 out of 10

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

fast-csv is a Node.js library that parses and writes CSV through streams, with TypeScript types. It is stable, safe and still maintained by C2FO, but it gets few new features and is slower than its rivals. csv-parse/csv-stringify (Node) or Papa Parse (browser) are usually the better default for a new project.

**Best for:** Node.js teams that want one small, typed, stream-based library to both read and write CSV, with row transforms and validation.

## Scores

- **Overall: 6.5** (likely 5.5 to 7.5)
  - Claude Opus 5.5 (6.0): fast-csv is a safe, typed and maintained choice for reading and writing CSV through streams on Node. It is slower and gets fewer features than csv-parse/csv-stringify, which most Node projects should pick. It does not run in the browser, where Papa Parse is the pick. Most of its downloads come from ExcelJS rather than direct choice.
  - GPT-6.2 Sol (7.0): Fast-csv is a strong pick when a Node.js service needs typed CSV reading and writing in one package with few dependencies. I would pick node-csv for large or irregular server-side imports and Papa Parse for browser uploads. Recent maintenance supports starting with fast-csv, while the open parser issues and benchmarks on earlier patches leave some uncertainty about demanding workloads.
- **Needed by many: 4.6** (likely 3.5 to 5.8)
  - Claude Opus 5.5 (5.0): Many backend developers need to read or write CSV at some point. fast-csv serves only the Node CSV part of a category that also covers Excel and the browser. That makes it narrower than Papa Parse or the Excel tools.
  - GPT-6.2 Sol (4.2): CSV imports and exports come up in integrations, reporting, and data pipelines. Node.js is widely used among JavaScript survey respondents, but fast-csv serves the subset doing delimited-text work on that runtime. The survey measures runtime use, so the share of projects needing this job is an estimate.
- **Helps a lot: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): It is a capable, typed library for parsing and formatting CSV through streams, with transforms and validation. Benchmarks often rank it slowest, it does not cast types automatically, and it handles malformed input less well than csv-parse. csv-parse does the same job on Node at least as well and has more options.
  - GPT-6.2 Sol (7.0): The typed reader and writer cover routine CSV jobs well, with header mapping, row validation, and documented event handling. Two independent benchmarks on earlier 5.x patches found slower parsing than csv-parse, and one reported hitting a memory limit at five million rows. A user also reproduced an unhandled error when passing a non-string to parseString. The examples give coding agents a clear starting point, while agent accuracy and performance on 5.0.8 remain unmeasured.
- **Holds up over time: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): C2FO still maintains it: 90 commits and 2 releases in the last year, from several maintainers over time. The work is mostly dependency and tooling upkeep with almost no new features, and 50 issues and 19 pull requests are open. The API is stable and has seen few breaking changes. ExcelJS depends on it, which keeps it in wide use.
  - GPT-6.2 Sol (7.0): The repo logged 90 commits and two releases in the last year, with v5.0.8 removing runtime dependencies and updating the build tooling. Much of the recent work is dependency upkeep, and some parser and formatter fixes have waited open for months. The main branch narrows Node.js support to 22 and 24, while both 2026 GitHub releases came from the same account and ongoing funding is unclear.
- **Used widely: 5.6** (likely 4.5 to 6.7)
  - Claude Opus 5.5 (5.5): Its 118M downloads in 4 weeks are close to ExcelJS's 110M, because ExcelJS installs it as a dependency. The growth ratio of about 7.9 tracks ExcelJS rather than people choosing fast-csv. Its 11k dependent repositories are far behind csv-parse's 196k and Papa Parse's 22k. That points to tens of thousands of projects choosing it directly.
  - GPT-6.2 Sol (5.6): Four-week npm installs rose from 15.0 million to 118.2 million, about 7.9× against the catalog median of 4.1×. ExcelJS installs fast-csv 4.x, and build automation makes the share of growth from new direct choices hard to estimate. The 11,246 indexed dependent repositories suggest meaningful direct use, though Papa Parse has about twice as many and csv-parse has far more. GitHub stars and Bluesky activity also give little support for a category-leading reach score.
- **Vouched for: 5.2** (likely 3.8 to 6.4)
  - Claude Opus 5.5 (5.0): ExcelJS builds on it, and a company (C2FO) has run it in production for years. Independent write-ups mention it as a Node option but rarely recommend it first, and the benchmarks rank it poorly. It does not appear in developer surveys.
  - GPT-6.2 Sol (5.4): ExcelJS uses fast-csv for its CSV implementation, which is a concrete integration by a major peer, although it still uses version 4. Independent tests confirm that version 5 handles varied CSV workloads, with mixed performance results. Recent evidence of production use on 5.0.8 and survey evidence of user satisfaction are sparse.
- **Safe: 8.4** (likely 7.4 to 9.2)
  - Claude Opus 5.5 (8.5): Its only advisory is a low-severity denial-of-service issue from 2020 that was fixed long ago. The OpenSSF Scorecard is 8.3 with pinned dependencies and a security policy; the weak checks are code review (5), fuzzing and CII best practices (both 0). It has 2 direct dependencies, an MIT licence, and several C2FO maintainers who publish releases.
  - GPT-6.2 Sol (8.3): The MIT-licensed package pins its two sibling modules at 5.0.8, and neither adds third-party runtime dependencies. The sole listed advisory was fixed in 4.3.6 before public disclosure, and the bundle lists none in the last two years. The 8.3 Scorecard shows a reporting policy and pinned dependencies, with partial code-review coverage and no detected fuzzing. GitHub marks the current release immutable, and the repo uses Lerna for npm publishing, but npm provenance and the full set of publishing permissions remain unclear.

## Good

- Parsing and formatting come from one package with matching stream APIs, and each half can also be installed on its own (@fast-csv/parse, @fast-csv/format).
- It is written in TypeScript and ships its own types, so it works well in typed projects.
- It has row transforms and row validation built in, and reports bad rows through a data-invalid event.
- It has a small attack surface: 2 direct dependencies, an MIT licence, an OpenSSF Scorecard of 8.3, and only one low-severity advisory, from 2020.

## Bad

- It runs only on Node and has no browser or Web Worker support, unlike Papa Parse.
- Independent benchmarks often rank it among the slowest JavaScript CSV parsers.
- Almost every release since 2020 has only updated dependencies; the last real fix in the release notes is from v5.0.0 (January 2024).
- It does not cast types automatically and is less forgiving of messy input than csv-parse.

## The numbers

- Downloads, 4 weeks: 118M
- In a year: ×7.9
- GitHub stars: 1.8k
- Commits, 12 months: 90
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/C2FO/fast-csv
- npm: https://www.npmjs.com/package/fast-csv

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.
