Skip to main content

Deno Runner

@swamp/deno-runnerv2026.08.22.1· 1d agoMODELS
01README

Install and run Deno commands. Manages Deno binary downloads with checksum verification and provides generic command execution for CI and development workflows.

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).
task Run a named task from deno.json with optional extra arguments.

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"]'
02Models1
@swamp/deno-runnerv2026.08.22.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 Versions1
2026.08.05.1
04Stats
A
100 / 100
Downloads
64
Archive size
25.0 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
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels