Minimal Sqlite WASM example with persistent storage in OPFS and Async API
Serve content using following headers, otherwise won't work:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
For reason see "Achtung: COOP and COEP HTTP Headers" in: https://sqlite.org/wasm/doc/trunk/persistence.md#coop-coep
python3 server-with-headers.py
- look up breaking API changes: https://sqlite.org/wasm/doc/trunk/api-changes.md
- Download "WebAssembly & JavaScript" from https://www.sqlite.org/download.html
- unpack in root of project
- remove all files outside /jswasm
- change src of import tag to new script in index.html ( ??? /jswasm/sqlite3-worker1-promiser.js)