Module

std/io/bufio.ts>readLines

Deno standard library
Go to Latest
function readLines
import { readLines } from "https://deno.land/std@0.101.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>