Skip to main content
Module

x/silicon/deps.ts>io.readLines

Deno module to generate images from source code using Aloxaf/silicon.
Go to Latest
function io.readLines
import { io } from "https://deno.land/x/silicon@v0.0.4/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>