Closed MorenoMdz closed 2 years ago
That's seems to be an issue with whatever you are using to open the CSV.
I just run you example and it produced the new lines correctly. Check that you are using the right line ending (linux vs windows).
That's seems to be an issue with whatever you are using to open the CSV.
I just run you example and it produced the new lines correctly. Check that you are using the right line ending (linux vs windows).
Got thanks I will try, for the past few times we used it I basically exported a JSON as those were properly formatted for some reason, I will take a look at our CSV reader solution next.
Include the version of json2csv used. V 5.0.6
Include your node version/browser vendor and version. Node 14.17
Include a sample dataset that we can test against. Running it on a list of items shaped like:
Tried to generate the file in many ways, for example a very basic attempt: