node-csvtojson
node-csvtojson copied to clipboard
'noheader: false' should be 'header: true' (Avoid double negatives)
It's best to avoid use of confusing double negatives when designing APIs.
I suggest phasing in the parameter 'header' in this major version and phasing out the parameter 'noheader' in the next.
https://refactoring.com/catalog/removeDoubleNegative.html
true, double negation might be a issue, but the docs are quite clear IMHO https://github.com/Keyang/node-csvtojson#header-row