// readme

zig-js

Core engine and importable js module code are Zig; the static library exports JavaScriptCore-shaped C headers/symbols, with macOS Objective-C bridge glue in src/objc_bridge.m. The package depends on zig-regex and zig-gc, not bundled JSC/V8; system JavaScriptCore is used only by explicit differential and benchmark targets. APIs are pre-stabilization.

const js = @import("js");

const ctx = try js.Context.create(allocator);
defer ctx.destroy();

const value = try ctx.evaluate("let x = 40; x + 2");

Status

profileresultevidence
configured test26253,175 / 53,175run · data
ten-profile WebAssembly matrix151,802 / 151,802 applicableCore 3: 63,964/63,964 · matrix · upstream-main shadow · reproduce