https://github.com/sqlite/sqlite-wasm
sqlite-wasm loads much faster than Pyodide, so if you don't need Python, then the former is a better choice.
sqlite-wasm loads much faster than Pyodide, so if you don't need Python, then the former is a better choice.
npm install @sqlite.org/sqlite-wasmOkay that's listed here: https://sqlite.org/wasm/doc/trunk/persistence.md
EDIT: Self answered.
With the help of Claude, though it incorrectly hallucinated some of the details despite me pasting in documentation: https://gist.github.com/simonw/677c3794051c4dfeac94e514a8e5b...