colParser for csv output
efraimrodrigues opened this issue · comments
Efraim Rodrigues commented
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.