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

x/proc/legacy/runners/utility.ts

A better way to work with processes in Deno.
Very Popular
Go to Latest
import * as proc from "https://deno.land/x/proc@0.20.30/legacy/runners/utility.ts";

Functions

Convert an AsyncIterable<Uint8Array> into an AsyncIterable<Uint8Array> split on lf and suppressing trailing cr.

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

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

Efficiently pump data from a reader to a writer.

Pump data from a reader to a writer, unbuffered.

Efficiently transform a Reader to an AsyncIterableIterator<Uint8Array>.

Transform a Reader to an AsyncIterableIterator<Uint8Array>, unbuffered. This will read bytes as soon as they are available.

Sleep for a while.