API Reference denox v#0.7.0

Copy Markdown View Source

Modules

Denox embeds a TypeScript/JavaScript runtime (Deno/V8) into Elixir via a Rustler NIF.

Manages a bundled Deno CLI binary.

Run Deno programs as managed subprocesses using the bundled CLI.

GenServer that handles JS → Elixir callbacks for a Denox runtime.

Dependency management for Denox using the deno CLI at build-time.

Configurable JSON encoder/decoder for Denox.

Pre-bundling support for npm/jsr packages via deno bundle.

GenServer-based pool of JavaScript runtimes for concurrent workloads.

Run Deno programs as NIF-backed long-lived runtimes.

Shared GenServer dispatch logic for Run modules.

Mix Tasks

Adds a dependency to deno.json and reinstalls.

Bundles an npm/jsr package into a self-contained JavaScript file using deno bundle.

Downloads the Deno CLI binary for the current platform.

Installs all dependencies declared in deno.json.

Removes a dependency from deno.json and reinstalls.

Runs a JSR/npm package or local script using the Deno runtime.