csv-formatter

JSON →
library 1.1.0 ·javascript
verified Jun 4, 2026

A streaming CSV formatter for Node.js that transforms arrays of objects into CSV strings. Current stable version is 1.1.0. It aims for compatibility with the csv-spectrum CSV acid test suite. Key differentiators include streaming support (ideal for large datasets), customizable separator and newline, and the ability to specify headers explicitly or derive them from the first object. It can be used in the browser with browserify. The package is lightweight with no dependencies.