wat-compiler

JSON →
library 1.1.1 ·javascript
verified Jun 4, 2026

wat-compiler is a zero-dependency JavaScript library that compiles WebAssembly Text Format (WAT) source code into binary WebAssembly modules (Uint8Array). It provides a simple functional API with optional performance metrics. v1.1.1 is the latest stable version; the library is lightweight, has no external runtime dependencies, and ships TypeScript definitions. Unlike full WAT toolchains (wabt, wast2wasm), it is designed for in-browser or Node.js use with minimal overhead.