Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/proc/mod.ts>bytesToTextLines

A better way to work with processes in Deno.
Go to Latest
function bytesToTextLines
Re-export
import { bytesToTextLines } from "https://deno.land/x/proc@0.20.35/mod.ts";

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

Parameters

buffs: AsyncIterable<Uint8Array>

The iterable bytes.

Returns

AsyncIterableIterator<string>