Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denoexec/deps.ts>io.readLines

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function io.readLines
import { io } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { readLines } = io;

Read strings line-by-line from a Reader.

Parameters

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

Returns

AsyncIterableIterator<string>