# mafintosh/csv-parser

Streaming csv parser inspired by binary-csv that aims to be faster than everyone else

Repository: https://github.com/mafintosh/csv-parser
Canonical: https://ross.abutalabs.com/products/csv-parser
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-05-07T12:13:09+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 8, longevity 100
- inputs: {"age_days": 4492, "days_push": 118, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1502, forks 142 (observed 2026-08-28T04:04:54.396519+00:00)

## What it is
A fast streaming CSV parser for Node.js that converts CSV into JSON objects, compatible with the csv-spectrum acid test suite. It can also run in the browser via browserify and parses around 90,000 rows per second.

## Use cases
- parse large csv files in nodejs
- convert csv to json streaming
- fast csv parsing for etl pipelines
- read csv file line by line in node
- handle csv with quoted fields and newlines
- parse csv in the browser with browserify

## When to choose
- you need maximum parsing throughput for large CSV files
- you want a lightweight streaming parser that pipes with Node streams
- you need broad CSV edge-case compatibility (quotes, newlines, encodings)

## When to avoid
- you need to write or serialize CSV, not just parse it
- you want a Promise-based API out of the box (use neat-csv instead)
- you are not on Node.js v8.16.0 or higher

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization, streaming
- domain: files, developer-tools
- platform: browser, cli
- tags: csv, json, streams, fast, nodejs, data-engineering

## Member repositories
- mafintosh/csv-parser (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.396519+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:53.704292+00:00, confidence not recorded.
  - readme: https://github.com/mafintosh/csv-parser (fetched 2026-08-28T04:04:54.396519+00:00, sha 711f02323fa7)
  - registry_npm: https://registry.npmjs.org/csv-parser (fetched 2026-08-29T11:38:01.028051+00:00, sha 2db4d932e944)
- Data as of 2026-08-30T08:39:29.467469+00:00.
