We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Thanks for your amazing work !
It seems that trim default value option does not work, even if I add it top options.
trim
This is my test :
const csv = require('csvtojson'); const csvFilePath = 'src/contents/csv/projects.csv'; csv({ trim: true }) .fromFile(csvFilePath) .then((jsonObj) => { console.log(jsonObj); });
And a part of the output :
..., { type_de_travaux: 'Démolir ', stars_number: '4.5', stars_vote: '0', }, ...,
Am I doing something wrong ?
I tried adding space at the beginning of a string and the result is the same.
The text was updated successfully, but these errors were encountered:
same here
Sorry, something went wrong.
No branches or pull requests
Hi,
Thanks for your amazing work !
It seems that
trim
default value option does not work, even if I add it top options.This is my test :
And a part of the output :
Am I doing something wrong ?
I tried adding space at the beginning of a string and the result is the same.
The text was updated successfully, but these errors were encountered: