node-csvtojson
node-csvtojson copied to clipboard
colParser for csv output
How can I use colParser when using csv output? I tried the following and it didn't work.
const objects = await csv({ output: "csv", colParser:{ [indexes.amount]:"number", }, noheader:true, trim:true, checkType: true, }).fromString(file.toString());
If this is not supported for csv outputs, maybe I can work on it.