pare-deno
v0.24.2Pare Deno — Structured Deno runtime operations as typed JSON.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run Deno Run
Runs a Deno script with `deno run` and returns structured output (stdout, stderr, exit code, duration).
| Parameter | Type | Description |
|---|---|---|
file * | string | Script file to run (e.g. main.ts, server.ts) |
allowAll | boolean | Allow all permissions (-A). Use with caution. |
allowEnv | boolean | Allow environment variable access (--allow-env) |
allowNet | boolean | Allow network access (--allow-net) |
allowRead | boolean | Allow file system read access (--allow-read) |
allowWrite | boolean | Allow file system write access (--allow-write) |
args | array | Additional arguments to pass to the script |
compact | boolean | Prefer compact output |
path | string | Project root path |
test Deno Test
Runs `deno test` and returns structured pass/fail output with per-test results.
| Parameter | Type | Description |
|---|---|---|
allowAll | boolean | Allow all permissions (-A). Defaults to true for test convenience. |
compact | boolean | Prefer compact output |
failFast | boolean | Stop on first failure (--fail-fast) |
files | array | Test files or directories to run (default: auto-discovered) |
filter | string | Filter tests by name pattern (--filter) |
path | string | Project root path |
fmt Deno Fmt
Runs `deno fmt` to check or write code formatting. Returns structured list of affected files.
| Parameter | Type | Description |
|---|---|---|
check | boolean | Check formatting without writing (--check). Defaults to true. |
compact | boolean | Prefer compact output |
files | array | Files or directories to format (default: current directory) |
path | string | Project root path |
lint Deno Lint
Runs `deno lint` and returns structured diagnostics with file, line, column, code, and message.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
exclude | array | Exclude specific lint rules (--rules-exclude) |
files | array | Files or directories to lint (default: current directory) |
path | string | Project root path |
rules | array | Include specific lint rules (--rules-include) |
check Deno Check
Runs `deno check` for type-checking without execution. Returns structured type errors.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Type-check all modules including remote (--all) |
compact | boolean | Prefer compact output |
files | array | Files to type-check (at least one required) |
path | string | Project root path |
task Deno Task
Runs a named task from deno.json via `deno task` and returns structured output (stdout, stderr, exit code, duration).
| Parameter | Type | Description |
|---|---|---|
name * | string | Task name as defined in deno.json |
args | array | Additional arguments to pass to the task |
compact | boolean | Prefer compact output |
path | string | Project root path |
info Deno Info
Runs `deno info` to show dependency information for a module. Returns structured dependency data.
| Parameter | Type | Description |
|---|---|---|
compact | boolean | Prefer compact output |
module | string | Module specifier or file path to inspect (shows cache info if omitted) |
path | string | Project root path |