[email protected] stream API throws error "list" argument must be an Array of Buffers #303
Closed
Description
Describe the bug
Trying to parse a csv file using stream API throws an error as "list" argument must be an Array of Buffers
This error has occurred only with the latest [email protected] package version.
To Reproduce
Node version 14.16.1
csv-parse version 5.0.1
Run the attached code for a csv file and would throw an error as "list" argument must be an Array of Buffers
const csvParser = require("csv-parse");
fs.createReadStream(filepath).pipe(csvParser.parse()).on('data', data => {
console.log(data);
});
Metadata
Metadata
Assignees
Labels
No labels