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

std/io/bufio.ts>readLines

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function readLines
import { readLines } from "https://deno.land/std@0.53.0/io/bufio.ts";

Read strings line-by-line from a Reader.

Parameters

reader: Reader

Returns

AsyncIterableIterator<string>