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

x/proc/legacy/examples/deps.ts>bytesToTextLines

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function bytesToTextLines
Re-export
import { bytesToTextLines } from "https://deno.land/x/proc@0.20.16/legacy/examples/deps.ts";

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

Parameters

buffs: AsyncIterable<Uint8Array>

The iterable bytes.

Returns

AsyncIterableIterator<string>