import { readCSV } from "https://deno.land/x/csv@v0.8.0/reader.ts";
Read CSV as stream of steams of cells:
for await (const row of readCSV(f)) {
console.log('row:')
for await (const cell of row) {
console.log(` cell: ${cell}`);
}
}
Parameters
reader: Deno.Reader
optional
options: Partial<CommonCSVReaderOptions>