{"library":"csv-parse","type":"library","category":null,"description":"csv-parse is a robust and flexible CSV parsing library for both Node.js and web environments, currently at version 6.2.1. It efficiently converts CSV text input into arrays or objects. A core feature is its implementation of the Node.js `stream.Transform` API, enabling scalable processing of large datasets with minimal memory footprint. For simpler use cases, it also offers convenient callback-based and synchronous APIs. Key differentiators include its extensive options for handling various CSV formats (delimiters, quotes, escapes, comments, line breaks, etc.), multiple distribution targets (Node.js, Web, ESM, CJS), a long and stable history since its initial release in 2010, and a strong focus on complete test coverage. The package is part of the larger `csv` project and integrates seamlessly with related packages like `csv-generate` and `csv-stringify`. It maintains a regular release cadence with ongoing development and support from Adaltas, making it a reliable choice for CSV parsing needs.","language":"javascript","status":"active","version":"6.2.1","tags":["javascript","csv","parse","parser","convert","tsv","stream","backend","frontend","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install csv-parse","imports":["import { parse } from 'csv-parse'","import { parse } from 'csv-parse/sync'","const { parse } = require('csv-parse')","const { parse } = require('csv-parse/sync')","import type { Options } from 'csv-parse'","import { parse } from 'csv-parse/browser/esm'"]},{"cmd":"yarn add csv-parse","imports":[]},{"cmd":"pnpm add csv-parse","imports":[]}],"homepage":"https://csv.js.org/parse/","github":"https://github.com/adaltas/node-csv","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/csv-parse","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/csv-parse/compatibility"}}