Skip to content
VaelJS Blog

Introducing VaelJS v0.0.0-alpha.0

Today we are releasing VaelJS v0.0.0-alpha.0 — an open-source, MIT-licensed JavaScript and erasable TypeScript runtime built in Rust around a simple idea: one module contract, two engines.

Instead of forcing automation scripts, embedded plugins, and full HTTP/SQLite services onto a single heavyweight runtime, VaelJS ships two sibling binaries from one codebase:

  • vjs — Full V8 + Tokio + Hyper runtime (vaeljs / vaeljs-core), built for Go-style HTTP servers, async SQLite databases, UTC cron jobs, npm: packages, and JIT throughput.
  • vjs-lite — Compact QuickJS-NG runtime (vaeljs-lite / vaeljs-lite-core), built for fast-starting synchronous automation scripts and lightweight Rust embedding with zero V8, Tokio, or Hyper dependencies.

Modern operational tooling and web services pull in opposite directions:

  1. Web apps and long-lived services benefit from V8’s JIT, async I/O (hyper + tokio), SQLite connection pools (vael:db), and worker pools (*Async crypto).
  2. Automation CLIs, build helpers, and Rust host applications often just need deterministic synchronous modules (vael:fs, vael:ssh, vael:template, vael:crypto, vael:test) with minimal binary footprint and compile-time feature selection (--no-default-features).

Because both vjs and vjs-lite share vaeljs-module-policy, deno_ast erasable TypeScript stripping, vaeljs-manifest (vael.jsonc), and vaeljs-dts (types), a script or vael:test suite written against the shared vael:* subset runs identically on both engines.

  • Canonical vael:* Standard Library: 20 vael:* modules in vjs and 15 synchronous vael:* modules in vjs-lite — including Go 1.22+ ServeMux routing (vael:http), driver-neutral SQLite (vael:db), XSS-safe Go text/template + Sprig (vael:template), host-pinned SSH-2 (vael:ssh), binary age v1 (vael:age), and NEO1 AES-256-GCM / SHA-2 / PBKDF2 / bcrypt / Shamir crypto (vael:crypto).
  • Opt-Outable node:* Compatibility: 11 node:* modules in vjs (10 sync in vjs-lite), disabled cleanly at runtime with --no-node-compat or at compile time via --no-default-features.
  • Zero-node_modules npm: Resolution: Strict ESM npm: and package.json imports backed by a read-only SHA-256/512 content-addressed store, vael.lock v1, and .npmrc scoped registry support — with zero lifecycle scripts, zero native addons, and zero CommonJS.
  • Prebuilt Binaries Across 6 Targets: vjs and vjs-lite release archives with SHA256SUMS.txt and profile-matched types/ declarations for Linux, macOS, and Windows (amd64 and arm64).

VaelJS is the open-source runtime foundation of the broader Neotales Vael ecosystem:

  • VaelJS (vaeljs.com) — Dual-engine JS/TS runtimes and Rust embedding crates (v0.0.0-alpha.0 shipped).
  • Vaelspire (vaelspire.com) — Identity & access foundation (OIDC, OAuth2, RBAC, workload identity).
  • Vaelguard (vaelguard.com) — Secrets management, envelope encryption, and key custody.
  • Vaelhoard (vaelhoard.com) — Planned private and self-hosted artifact registry (vael:@, jsr:@, npm:, OCI, and binary artifacts), explicitly gated until Vaelspire and Vaelguard are far enough along to provide real auth and key custody.
  • Vaelrun (vaelrun.dev) — Planned managed execution and orchestration platform.

Transparent Roadmap & Open Source Commitment

Section titled “Transparent Roadmap & Open Source Commitment”

Our Public Roadmap tracks what is next for alpha.1 through alpha.3:

  • Binary size optimization tiers for both vjs and vjs-lite
  • vael:os/dirs (.NET Special Folders + first-class XDG), vael:fs/acl (Windows ACLs), and vael:archive (safe tar/zip)
  • BLAKE2 / BLAKE3 in vael:crypto and vjs lsp
  • Multi-driver vael:db (PostgreSQL, MySQL/MariaDB, Microsoft SQL Server)
  • In-browser Wasm Playground (vaeljs.com/playground) powered by vaeljs-lite-core

VaelJS is MIT-licensed and open source, with no paid support tiers offered at this stage (sponsorships and Bitcoin funding will be considered after a few releases).

Jump into the Quickstart, explore the Module Reference, or inspect the Architecture Specs.