1This is the README for the sqlite3 WASM/JS distribution. 2 3Main project page: https://sqlite.org 4 5Documentation: https://sqlite.org/wasm 6 7This archive contains the sqlite3.js and sqlite3.wasm file which make 8up the sqlite3 WASM/JS build. 9 10The jswasm directory contains the core sqlite3 deliverables and the 11top-level directory contains demonstration and test apps. Browsers 12will not serve WASM files from file:// URLs, so the demo/test apps 13require a web server and that server must include the following 14headers in its response when serving the files: 15 16 Cross-Origin-Opener-Policy: same-origin 17 Cross-Origin-Embedder-Policy: require-corp 18 19One simple way to get the demo apps up and running on Unix-style 20systems is to install althttpd (https://sqlite.org/althttpd) and run: 21 22 althttpd --enable-sab --page index.html 23 24