MCPcopy Index your code
hub / github.com/dsherret/dax

github.com/dsherret/dax @0.48.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.48.5 ↗ · + Follow
299 symbols 693 edges 46 files 81 documented · 27% 1 cross-repo links updated 2d ago0.48.6 · 2026-07-07★ 1,4838 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dax

JSR npm Version

dax logo

Cross-platform shell tools for Deno and Node.js inspired by zx.

Docs

import $ from "dax";

// run a command
await $`echo 5`; // outputs: 5

// capture output
const branch = await $`git rev-parse --abbrev-ref HEAD`.text();

// make a request
const data = await $.request("https://plugins.dprint.dev/info.json").json();

// prompt for input
const name = await $.prompt("What's your name?");

Differences with zx

  1. Cross-platform shell.
  2. Makes more code work on Windows.
  3. Allows exporting the shell's environment to the current process.
  4. Uses deno_task_shell's parser.
  5. Has common commands built-in for better Windows support.
  6. Minimal globals or global configuration.
  7. Only a default instance of $, but it's not mandatory to use this.
  8. No custom CLI.
  9. Good for application code in addition to use as a shell script replacement.
  10. Named after my cat.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 138
Method 120
Interface 29
Class 10
Enum 2

Languages

TypeScript100%

Modules by API surface

src/request.ts81 symbols
mod.ts72 symbols
src/console/progress.ts23 symbols
src/console/utils.ts18 symbols
src/console/ttyFallback.ts14 symbols
src/request.test.ts13 symbols
src/common.ts13 symbols
src/console/multiSelect.ts8 symbols
src/console/prompt.ts7 symbols
src/console/select.ts6 symbols
src/console/confirm.ts6 symbols
src/console/logger.ts5 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add dax \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page