NodeCSV

Full featured CSV parser with simple api and tested against large datasets.

README

CSV packages for Node.js and the web


This project provides CSV generation, parsing, transformation and serialization for Node.js.

It has been tested and used by a large community over the years and should be considered reliable. It provides every option you would expect from an advanced CSV parser and stringifier.

Project structure


This repository is a monorepo managed using Lerna. There are 5 packages managed in this codebase, even though we publish them to NPM as separate packages:

[csv](https://csv.js.org/)
  (GitHub),
  an umbrella which is itself split into 4 packages.
[csv-generate](https://csv.js.org/generate/)
  (GitHub),
  a flexible generator of CSV string and Javascript objects.
[csv-parse](https://csv.js.org/parse/)
  (GitHub),
  a parser converting CSV text into arrays or objects.
[csv-stringify](https://csv.js.org/stringify/)
  (GitHub),
  a stringifier converting records into a CSV text.
[stream-transform](https://csv.js.org/transform/)
  (GitHub),
  a transformation framework.

Documentation


The full documentation for the current version is available here.


Features


Extends the native Node.js transform stream API
Simplicity with the optional callback and sync API
Support for ECMAScript modules and CommonJS
Large documentation, numerous examples and full unit test coverage
Few dependencies, in many cases zero dependencies
Node.js support from version 8 to latest
Mature project with more than 10 years of history

License


Licensed under the MIT License.

Contributors


The project is sponsored by Adaltas, an Big Data consulting firm based in Paris, France.

* David Worms: