import { readCSVStream } from "https://deno.land/x/csv@v0.4.0/mod.ts";
Read CSV as stream of cells and newlines:
for await (const token of readCSVStream(f)) {
if (token === newLine) {
console.log('new line');
} else {
console.log(`cell: ${token}`);
}
}
Parameters
reader: Deno.Reader
optional
options: Partial<CommonCSVReaderOptions>