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
#57 was merged a long time ago, but no new releases were made since. Our project has been relying on a patch to get this fix for almost 3 years
I was looking at updating projects and realized this was still not available
At a quick glance this seems to be the only fix/src changes since the last version
The text was updated successfully, but these errors were encountered:
I migrated to https://csv.js.org/stringify/options/.
Before
const csvWriter = createCsvWriter({ path: `${path}.csv`, header: [...data.headers], fieldDelimiter: ';', }); await csvWriter.writeRecords(data.items);
After
const records = [data.headers.map((h) => h.title), ...data.items.map((row) => data.headers.map((h) => row[h.id]))]; const output = stringify(records, { delimiter: ';' }); fs.writeFileSync(`${path}.csv`, output);
Sorry, something went wrong.
No branches or pull requests
#57 was merged a long time ago, but no new releases were made since.
Our project has been relying on a patch to get this fix for almost 3 years
I was looking at updating projects and realized this was still not available
At a quick glance this seems to be the only fix/src changes since the last version
The text was updated successfully, but these errors were encountered: