node-csvtojson
node-csvtojson copied to clipboard
Which is the right way of validating a columns content?
I'm starting to write a custom parser to receive a boolean value as text, allowing only 4 possible strings.
What should I do to comply with the designed module behavior when validating data types?
(throw an exception, return undefined, etc.)