You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ignoreEmpty: true and checkType: true does not work if set output is csv format #466
Following config is not working properly when setting the output to csv
constcsvtojson=require('csvtojson');csvtojson({noheader: true,output: 'csv',ignoreEmpty: true,checkType: true,}).fromFile(xxx).then((rowData)=>{// rowData still contains empty value(empty string) and all data is string format// however if switched to json output everything works fine})
Activity
manoger commentedon May 4, 2023
I'm facing the same behaviour, I have thousands of lines like
;;;;and they are being parsedhacker0limbo commentedon May 5, 2023
Just use other lib instead. I doubt they won't check and fix issue frequently...