Skip to main content
Deno 2 is finally 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.11/src/api2/proc-readable-stream.ts";

Convert UTF8-encoded input to text lines.

Parameters

input: ReadableStream<Uint8Array> | Deno.ChildProcess

UTF8-encoded input.