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
.
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'}]
Returns a Promise<object[]>
with the parsed CSV.
Type: string | Buffer | stream.Readable
The CSV data to parse.
Type: object
See the csv-parser
options.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4