Worms David
Worms David
Could you provide a sample of what you expect, that would help the understanding.
Not really, do you want this: ```js const data = "a,b,c\nRows:1"' const recors = parse(data, {skip_trailing: 1}) records.should.eql(["a","b","c"]) ```
Hum, I don't think that possible. The way csv-parse is created is to handle an unlimited number of records. This use-case involve knowing in advance how many records there are...
Currious to see your code. Not sure that I want to make the parser more complex but let me look first at how you are doing this.
To make sure I understand, please provide a sample input, the actual output and the expected output.
ok, I get it. Don't know if we shall classify this as a bug, a missing feature, or even as a breaking change. This will have an impact on the...
if a bug and a fix exist, even if it was years ago, I am surprised it is still there. Let me look at the code
It seems like it is not a bug nor anything else, there is not much we can do about. The problem is not in the parser nor in the stringifier....
Do you really need headers, you could just ``` fs.createReadStream(inputFilePath) .pipe(csv.parse()) .pipe(csv.stringify({ quoted: true })) .pipe(outputCsv); ``` Otherwise, you'll have to work around the stream API (or use the sync...
Could we close the issue ?