Skip to main content
Module

std/io/mod.ts>readLines

Deno standard library
Go to Latest
function readLines
import { readLines } from "https://deno.land/std@0.109.0/io/mod.ts";

Read strings line-by-line from a Reader.

Parameters

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

Returns

AsyncIterableIterator<string>