Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/src/api2/proc-readable-stream.ts>lines

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function lines
import { lines } from "https://deno.land/x/proc@0.20.18/src/api2/proc-readable-stream.ts";

Convert UTF8-encoded input to text lines.

Parameters

input: ReadableStream<Uint8Array> | Deno.ChildProcess

UTF8-encoded input.