Cross-platform shell tools for Deno and Node.js inspired by zx.
1,495
stars
330
commits
TypeScript
primary language
Sep 4, 2026
updated
Cross-platform shell tools for Deno and Node.js inspired by zx.
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?");
$, but it's not mandatory to use this.TypeScript
100.0%
Cross-platform shell tools for Deno and Node.js inspired by zx.
1,495
stars
330
commits
TypeScript
primary language
Sep 4, 2026
updated
Cross-platform shell tools for Deno and Node.js inspired by zx.
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?");
$, but it's not mandatory to use this.TypeScript
100.0%