A fast, promise-based CSV parser for Node.js that wraps csv-parser for convenient usage.
neat-csv is a fast CSV parsing library for Node.js that converts CSV data into JavaScript objects. It wraps the csv-parser module to provide a convenient, promise-based API for developers who don't need streaming capabilities. The library handles strings, buffers, or streams and returns clean object arrays from CSV input.
Node.js developers who need to parse CSV files or data in their applications, particularly those looking for a simple, non-streaming solution with modern async/await support.
Developers choose neat-csv because it offers a straightforward, promise-based interface on top of a highly performant parser, eliminating the complexity of streaming when it's not required. It's minimal, fast, and integrates seamlessly into modern JavaScript workflows.
Fast CSV parser
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Returns a Promise that resolves with parsed data, simplifying async/await usage as shown in the README example, making it ideal for modern JavaScript workflows.
Leverages the underlying csv-parser module for high-performance processing, ensuring quick conversion of CSV data to objects without sacrificing efficiency.
Accepts CSV data as strings, Buffers, or readable streams, providing versatility in input sources as documented in the API section.
Supports all csv-parser options for customization, allowing developers to adjust parsing behavior like delimiters without extra overhead.
Buffers all data in memory before parsing, which can lead to high memory usage for large CSV files, making it inefficient for such scenarios.
The README explicitly directs users to csv-parser for streamed parsing, meaning neat-csv abstracts away streaming capabilities, limiting real-time processing.
Parsing-related issues must be reported to csv-parser, adding complexity in debugging and support due to the indirect dependency.