denox
Installation
SKILL.md
Denox — Embed Deno JS/TS Runtime in Elixir
Overview
Denox embeds a Deno V8 runtime into Elixir via a Rustler NIF. Evaluate JS/TS, load ES modules, import from CDNs/npm/jsr, call functions across the boundary, and run full Deno programs as OTP-supervised subprocesses — all from Elixir.
Two modes of operation:
- In-process eval — sub-millisecond V8 eval via NIF (
Denox.eval,Denox.call, etc.) - Subprocess runner — managed
deno runprocess with bidirectional stdio (Denox.Run)
Installation
# mix.exs
{:denox, "~> 0.4.0"}
Precompiled NIFs available for macOS and Linux (x86_64, aarch64). Local build requires Rust (stable); first compile ~20-30 min (V8 builds from source). Force local build with DENOX_BUILD=true mix compile.