Popularity
3.1
Growing
Activity
1.6
-
310
7
14

Monthly Downloads: 0
Programming language: JavaScript
License: MIT License
Tags: Text     Parsing     Stream     String     Str     Separator     Parse     Parser     CSV     Buffer     Delimiter     Tab     Values     Separated     Comma    
Latest version: v6.0.0

neat-csv alternatives and similar modules

Based on the "Parsing" category.
Alternatively, view neat-csv alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of neat-csv or a related project?

Add another 'Parsing' Module

README

neat-csv

Fast CSV parser

Convenience wrapper around the super-fast streaming csv-parser module. Use that one if you want streamed parsing.

Parsing-related issues should be reported to csv-parser.

Install

npm install neat-csv

Usage

import neatCsv from 'neat-csv';

const csv = 'type,part\nunicorn,horn\nrainbow,pink';

console.log(await neatCsv(csv));
//=> [{type: 'unicorn', part: 'horn'}, {type: 'rainbow', part: 'pink'}]

API

neatCsv(data, options?)

Returns a Promise<object[]> with the parsed CSV.

data

Type: string | Buffer | stream.Readable

The CSV data to parse.

options

Type: object

See the csv-parser options.