csv-stream
csv-stream copied to clipboard
:page_with_curl: Streaming CSV Parser for Node. Small and made entirely out of streams.
skipEmpty: false //defaults to false, emits everything if true then it does not emit empty lines for example, in the following it would skip the blank line. The use case...
`columns` option now supports either boolean or function. This function is responsable to map the array of keys of the first column. It receives an array of strings and should...
While implementing `csv-streamify` I found out that there was a strange character (or wrongly encoded file) in the CSV that returned on an dirty column name. example.csv ``` weird_char,ok_col,some_emoj🤙 1,1,1...
Hi, Great Library. Just wanted to let you know an issue I faced.. SFDC has a non-compliant CSV export (from it's bulk export tool).. producing rows like the "00T1p00002Pq1pREAR" row...
Couldn't figure this out, but switching packages to csvtojson seemed to resolve for me ``` const parser = csvReader({ columns: true }); const reader = fs.createReadStream(...).pipe(parser); while (1) { reader.pause()...
## Version 10 of Node.js (code name Dubnium) has been released! 🎊 To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following...
This would be nice for debugging in large files. I guess this format would make the most sense: ``` parser.on('data', (line, number) => { ... }) ```
It's not uncommon for a CSV file to have strange or badly formatted column names. This PR adds a new transform function option (mapped to each column name) so column...
Added a parameter sendColumns to be able to send the column names beside the current line.
I am using csv-streamify in my log parsing project: https://github.com/cboscolo/elb2loggly. Parsing lines with escaped strings does not work properly. For example, using `var csvToJson = csv({objectMode: true, delimiter: ' '});`...