ryu1kn / csv-writer

Convert objects/arrays into a CSV string or write them into a CSV file
https://www.npmjs.com/package/csv-writer
MIT License
246 stars 39 forks source link

Appending to existing file deletes previous records #39

Closed abhi007tyagi closed 4 years ago

abhi007tyagi commented 4 years ago

I have an existing csv file without any header titles. appending new row deletes previous records.

ryu1kn commented 4 years ago

You can set append: true 🙂

ryu1kn commented 4 years ago

Let me know if it doesn't solve your problem 👍