UNPKG

streams

Version:

A lazy streams library for functional composition in JavaScript.

5 lines (4 loc) 270 B
import { Readable } from "node:stream"; import { LinesOptions } from "./readable-lines"; export { LinesOptions } from "./readable-lines"; export declare function readableLines(readable: Readable, { encoding }?: LinesOptions): AsyncGenerator<string, undefined, unknown>;