Module

std/io/bufio.ts>readLines

Deno standard library
Go to Latest
function readLines
import { readLines } from "https://dotland.deno.dev/std@0.110.0/io/bufio.ts";

Read strings line-by-line from a Reader.

Parameters

reader: Reader
optional
decoderOpts: { encoding?: string; fatal?: boolean; ignoreBOM?: boolean; }

Returns

AsyncIterableIterator<string>