Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/src/utility.ts

A better way to work with processes in Deno.
Latest
import * as proc from "https://deno.land/x/proc@0.22.1/src/utility.ts";

Functions

Fast-concatenate Uint8Arrays arrays together, returning a single array containing the result.

Checks if the provided input is a string.

Lazily create a range of numbers.

Open a file for reading.

Performs an in-place shuffle of an array in linear time.

The sleep function is used to pause the execution of the program for a specified amount of time. It returns a Promise that resolves after a set number of milliseconds, effectively causing a delay in the execution of the subsequent code.

Low level write without locking, writing in multiple chunks if needed.

Interfaces

Options for a to range. The to range is exclusive.

Options for an until range. The until value is inclusive.