deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

Csv stringify support of an array of objects

Open sergeysolovev opened this issue 7 months ago • 0 comments

It would be amazing if this code worked, probably by passing something like inferHeaders option (suggested by @crowlKats).

import { stringify } from 'https://deno.land/[email protected]/csv/mod.ts';
const arr = [{ a: 1, b: 2 }, { a: 3, b: 4 }];
console.log(stringify(arr));

sergeysolovev avatar Nov 25 '23 15:11 sergeysolovev