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