
Hako is a compact, embeddable JavaScript engine that compiles to WebAssembly, offering strong portability, performance, and security. A fork of PrimJS (itself based on QuickJS), Hako skips Emscripten to produce a lightweight (~800KB) binary and supports tight integration into other applications, such as those written in Go.
Key features include built-in sandboxing with VMContext, execution and memory limits, and performance gains of around 28% over QuickJS. Designed for safety and speed, Hako enables running multiple isolated VMs efficiently and is currently available in early access.