runtime/deno.ts

Deno implementation of RuntimeDeps.

Provides create_deno_runtime(args) — a factory returning a RuntimeDeps backed by Deno APIs. Only imported by Deno entry points (compiled binaries for tx, zzz, etc.).

Declarations
#

view source

create_deno_runtime
#

runtime/deno.ts view source

(args: readonly string[]): RuntimeDeps

Create a runtime backed by Deno APIs.

Returns an object satisfying all *Deps interfaces from deps.ts. Pass to shared functions that accept EnvDeps, FsReadDeps, etc.

args

CLI arguments (typically Deno.args)

type readonly string[]

returns

RuntimeDeps

runtime implementation using Deno APIs