mafintosh / csv-parser

Streaming csv parser inspired by binary-csv that aims to be faster than everyone else
MIT License
1.41k stars 134 forks source link

Leading Zero issue for integer #210

Open Sultanwasifiqbal opened 2 years ago

Sultanwasifiqbal commented 2 years ago

Expected Behavior

in csv file the column having values : 50, 60,70,OP, PSE

Actual Behavior

class Entity { } delim = "," after caliing this await this.csvParser.parse(stream, Entity, null, null, { separator: delim }); iam getting values : 050, 060,070,OP, PSE

How Do We Reproduce?

You can check below file, you will get to know. Weehawken_RightAngle_ActiveList.csv