Комментарии:
the code generates the csv but its not downloading it what could it be the problem?
try {
const cvs = new ObjectsToCsv(data)
await cvs.toDisk('./test.cvs')
console.log(await csv.toString());
res.download("./test.csv")
} catch (error) {
console.log(err+"error")
}
Thank you for this awesome and knowledgeable video. It help me in my project.
Ответить