node-csvtojson icon indicating copy to clipboard operation
node-csvtojson copied to clipboard

csv header not outputed even noheader is false

Open longsoft-dev opened this issue 7 years ago • 1 comments

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.

longsoft-dev avatar Oct 05 '18 03:10 longsoft-dev

I have the same problem... anybody can help on this? Thanks.

taviroquai avatar Nov 08 '19 14:11 taviroquai