CSV Parser for Node.js and Web
JSON →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.
Traffic · last 30 days ↓14% vs prev 7d
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany