Amberjs
A JavaScript and TypeScript runtime in Rust and V8.
One binary: amber. Run scripts, Jest-style tests, MCP tools, and amber:ai tensors — with an opt-in capability sandbox. Not a Node.js clone. Node Conformance 5.0 is 55/55.
- Engine
- V8
- Host
- Rust
- Version
- 1.16.0
- License
- MIT
const runtime = "Amber"23console.log(`hello from ${runtime}`)Not a Node.js clone. Coverage is per-API.
Amber labels every command Stable, Preview, or Experimental. Node Conformance 5.0 reports 55/55 fixtures; that is a fixture score, not a drop-in Node promise. Preview and Experimental surfaces are not production Node.
Verified in this release
- One amber binary: run / eval / repl / test / session / mcp
- TypeScript via oxc type-strip, not tsc
- Jest-style amber test
- In-process amber:ai Tensor / LLM / AgentPipeline
- Node Conformance 5.0: 55/55 fixtures
One binary for scripts, tests, and agent tools.
Capabilities below follow the public v1.16.0 manual. Full API tables and benchmarks live on amberjs.com.
One binary
run, eval, repl, test, session, and mcp all live in amber.
$amber run hello.tsTypeScript without tsc
oxc strips types from .ts / .tsx. Use tsc --noEmit in CI if you want a typecheck.
$amber run app.tsOpt-in capability sandbox
Turn on --sandbox, then overlay --allow-*, audit JSONL, --seed, and --freeze-time for agent tools.
$amber run --sandbox app.tsJest-style tests
amber test with describe / test / expect. --parallel is rejected: isolates are not shared across threads.
$amber testamber:ai in-process
Tensor, LLM, and AgentPipeline without a Python sidecar. Cargo feature "ai" is empty and is not a product LLM.
$import { Tensor } from "amber:ai"Node APIs, per-API
fs, http, fetch, Streams, URL, Web Crypto, and more are scored in 55 conformance fixtures, not claimed as drop-in Node.
$amber eval "typeof fetch"A readable path from source file to result.
These four stages describe one real execution in order, not a decorative feature list.
Input
JavaScript, TypeScript, or TSX source
Prepare
oxc strips types; this is not tsc
Execute
The Rust-managed V8 isolate runs the code
Return
The CLI prints the result or a clear error
Install the official amber binary.
Amberjs is MIT licensed. Prebuilt archives cover macOS arm64/x64, Linux gnu x64/arm64, and Windows x64. Homebrew: brew install zh30/tap/amber. Windows: irm https://get.amberjs.com/install.ps1 | iex.
curl -fsSL https://get.amberjs.com/install.sh | shamber --versionamber eval "1 + 1"Know the boundaries before evaluating Amberjs.
Official links
Use these canonical links for citations, installation, source review, privacy checks, and support.
Run it. Read the manual. Decide whether to help shape it.
Amberjs v1.16.0 labels the contract: Stable for everyday scripts and tests, Preview and Experimental while those surfaces tighten.