This repository takes the sample code from https://github.com/tomayac/sqlite3-wasm-demo/tree/main/public and converts it to run in an MV2 extension. It also has been updated to use the official sqlite-wasm 3.41 release.
To run this code in Firefox:
- Clone the repository, cd into the top-level directory, and run
web-ext run
. - Open the Extension menu and click the entry for "SQLite Wasm Demo Extension MV2".
To run this code in Chrome:
- Clone the repository and load it as an unpacked extension into Chrome.
- Click the extension's icon to open the extension in a new tab.