Deno Runner
@swamp/deno-runnerv2026.10.23.1
01README
Install and run Deno commands. Manages Deno binary downloads with checksum verification and provides generic command execution for CI and development workflows.
Runs on Linux and macOS (x64 and ARM64) and Windows x64. The binary is unpacked in process, so no unzip tool is needed.
Provider-agnostic: does not impose any project structure or command conventions. You specify the Deno version and the arguments to run.
Methods
| Method | What it does |
|---|---|
install |
Ensure a specific Deno version is downloaded and cached. Returns the binary path and platform info. |
run |
Run an arbitrary deno subcommand with the specified arguments (e.g. check, test, lint, fmt, install --frozen). Fails the step on non-zero exit. |
task |
Run a named task from deno.json with optional extra arguments. Fails the step on non-zero exit. |
Usage
swamp extension pull @swamp/deno-runner
swamp model create @swamp/deno-runner deno
swamp model edit deno
# Type-check
swamp model method run deno run \
--input 'args:json=["check", "src/main.ts"]'
# Run tests
swamp model method run deno run \
--input 'args:json=["test", "--allow-read", "--allow-env", "src/"]'
# Run a named task
swamp model method run deno task \
--input taskName=generate:aws \
--input 'taskArgs:json=["ec2", "s3"]'
# Verify lockfile
swamp model method run deno run \
--input 'args:json=["install", "--frozen"]'02Behaviors
@swamp/deno-runnerv2026.08.23.1deno_runner.ts
fn install()
Ensure a specific Deno version is downloaded and cached, returning the binary path
fn run()
Run an arbitrary deno command with the specified arguments
fn task()
Run a named task from deno.json
Resources
installResult(infinite)— Result of installing a Deno version — binary path and platform info
commandResult(infinite)— Output from a Deno command execution — stdout, stderr, exit code
03Previous Versions
2026.10.17.1AGPL-3.0-or-later(was none)
updated platforms
2026.10.13.1
2026.08.23.1
2026.08.22.1
2026.08.05.1
04Stats
A
100 / 100
Downloads
597
Archive size
92.1 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
05Platforms
06Labels