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

x/proc/src/utility.ts

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
import * as proc from "https://deno.land/x/proc@0.20.8/src/utility.ts";

Functions

Concatenate arrays together, returning a single array containing the result.

Convert an AsyncIterable<Uint8Array> into an AsyncIterable<Uint8Array[]> (an array of lines chunked together based on buffer size) split on lf and also suppressing trailing cr. lf and trailing cr is removed from the returned lines.

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