sqlite-wasm-wasi

JSON →
library 0.6.0 ·javascript
verified Jun 7, 2026

SQLite database library for JavaScript/TypeScript environments that support WASM and WASI, such as Node.js with wasmtime or similar runtimes. Version 0.6.0 provides a synchronous API similar to better-sqlite3, but runs entirely in WebAssembly without native Node.js addons. It includes prepared statements, transactions, and supports BigInt for large integers. The package requires a separate `component.wasm` file that ships with the npm package, making it easy to integrate. Unlike better-sqlite3, it does not depend on native compilation and can run in any WASI-capable runtime. Development is active but early-stage, with regular releases.