import { toLines } from "https://deno.land/x/proc@0.20.10/src/utility.ts";
Convert an AsyncIterable<Uint8Array>
into an AsyncIterable<string>
of lines.
Note that this should probably only be used with small data. Consider toChunkedLines to improve performance with larger data.