node-csvtojson
node-csvtojson copied to clipboard
csv header not outputed even noheader is false
await csv({ output: 'csv' }).fromString('a,b,c\n1,2,3\n4,5,6')
According to the API, a,b,c should be in the output because noheader is false. However it only outputs data rows without header. fromFile() would be the same result.
I have the same problem... anybody can help on this? Thanks.