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

x/proc/src/transformers.ts>toLines

A better way to work with processes in Deno.
Latest
function toLines
import { toLines } from "https://deno.land/x/proc@0.22.1/src/transformers.ts";

Convert an AsyncIterable<Uint8Array> into an AsyncIterable<string> of lines.

Parameters

buffs: AsyncIterable<Uint8Array>

The iterable bytes.

Returns

AsyncIterable<string>