csval
csval copied to clipboard
Support custom delimiter
Hey - I wanted to use your tool but I couldn't see an option to pass in a custom delimiter
It should scan the first few lines of your data to auto-detect the delimiter. But allowing custom parsing configuration is a great feature idea.
One strategy for implementing this would be adding a CLI argument for specifying a config file. Then merge that configuration with the defaults found in src/parseCsv.js.
In the meantime, you could fork and modify the options for parse(). Adding something like delimiter: ";"
would work.