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.
Why Two Engines?
Section titled “Why Two Engines?”Modern operational tooling and web services pull in opposite directions:
- Web apps and long-lived services benefit from V8’s JIT, async I/O (
hyper+tokio), SQLite connection pools (vael:db), and worker pools (*Asynccrypto). - 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.
Highlights in v0.0.0-alpha.0
Section titled “Highlights in v0.0.0-alpha.0”- Canonical
vael:*Standard Library: 20vael:*modules invjsand 15 synchronousvael:*modules invjs-lite— including Go 1.22+ServeMuxrouting (vael:http), driver-neutral SQLite (vael:db), XSS-safe Gotext/template+ Sprig (vael:template), host-pinned SSH-2 (vael:ssh), binary age v1 (vael:age), andNEO1AES-256-GCM / SHA-2 / PBKDF2 / bcrypt / Shamir crypto (vael:crypto). - Opt-Outable
node:*Compatibility: 11node:*modules invjs(10 sync invjs-lite), disabled cleanly at runtime with--no-node-compator at compile time via--no-default-features. - Zero-
node_modulesnpm:Resolution: Strict ESMnpm:andpackage.jsonimports backed by a read-only SHA-256/512 content-addressed store,vael.lockv1, and.npmrcscoped registry support — with zero lifecycle scripts, zero native addons, and zero CommonJS. - Prebuilt Binaries Across 6 Targets:
vjsandvjs-literelease archives withSHA256SUMS.txtand profile-matchedtypes/declarations for Linux, macOS, and Windows (amd64andarm64).
Where VaelJS Fits in the Vael Ecosystem
Section titled “Where VaelJS Fits in the Vael Ecosystem”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.0shipped). - 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
vjsandvjs-lite vael:os/dirs(.NET Special Folders + first-class XDG),vael:fs/acl(Windows ACLs), andvael:archive(safe tar/zip)- BLAKE2 / BLAKE3 in
vael:cryptoandvjs lsp - Multi-driver
vael:db(PostgreSQL, MySQL/MariaDB, Microsoft SQL Server) - In-browser Wasm Playground (
vaeljs.com/playground) powered byvaeljs-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.
