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

x/dax/mod.ts

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
import * as dax from "https://deno.land/x/dax@0.39.2/mod.ts";

Classes

Underlying builder API for executing commands.

Result of running a command.

Similar to AbortSignal, but for Deno.Signal.

Similar to an AbortController, but for sending signals to commands.

Holds a reference to a path providing helper methods.

A progress bar instance created via $.progress(...).

Builder API for downloading files.

Response of making a request where the body can be read.

A timeout error.

Variables

v
$

Default $ instance where commands may be executed.

Default $ instance where commands may be executed.

v
PathRef
deprecated

Functions

Builds a new $ which will use the state of the provided builders as the default.

Interfaces

Collection of built-in properties that come with a $.

String literal template.

Change that alters the current working directory.

Deno.Closer

Context of the currently executing command.

Used to write to stdout or stderr.

Options for showing confirming a yes or no question.

Tells the shell to continue executing.

Options for creating a custom $.

An iterator that returns a new delay each time.

Tells the shell it should exit immediately with the provided exit code.

Single options within a multi-select option.

Options for showing a selection that has multiple possible values.

Options for showing progress.

Configuration of the prompt input mask

Options for showing an input where the user enters a value.

Deno.Reader stream.

Options for using $.retry({ ... })

Options for showing a selection that only has one result.

Change that sets an environment variable (ex. export ENV_VAR=VALUE)

Change that sets a shell variable (ex. ENV_VAR=VALUE)

Change that deletes the environment variable (ex. unset ENV_VAR).

Deno.WriterSync stream.

Type Aliases

Type of $ instances.

Handler for executing a command.

Used to read from stdin.

Delay used for certain actions.

Change that alters the environment.

Result of executing a custom command.

Listener for when a KillSignal is killed.

Behaviour to use for stdin.

The behaviour to use for a shell pipe.