I use export-to-csv https://www.npmjs.com/package/export-to-csv to export data to CSV. I need to add "sep=;" as the first line in the result csv. I try to do it with options:
const options = {
filename: `Report`,
fieldSeparator: ';',
quoteStrings: '"',
decimalSeparator: '.',
showLabels: true,
showTitle: true,
title: "sep=\;",
useTextFile: false,
useBom: true,
useKeysAsHeaders: false,
headers: [<column names>]
};
And I get the desired sep as the first line, but as the second is always an empty line. So only on the third line I see the report data. How to delete this second empty line in the report?