import { toChunkedLines } from "https://deno.land/x/proc@0.20.22/src/transformers.ts";
Convert an AsyncIterable<Uint8Array>
into an AsyncIterable<string[]>
of lines.
For larger data, this keeps the data being passed at reasonable sizes and avoids the "small string" problem. Consider using this instead of toLines