What is wa-sqlite
masterwa-sqlite is a WebAssembly build of SQLite that allows developers to write SQLite virtual filesystems (VFS) completely in JavaScript. This enables alternative browser storage options like IndexedDB and Origin Private File System (OPFS) for persistent SQLite storage in web applications.
Key features:
- Custom VFS Support: Use JavaScript to implement storage backends (e.g., IndexedDB, OPFS).
- Build Options: Supports both synchronous and asynchronous builds. Asynchronous builds (using Asyncify or JSPI) are required if you intend to use asynchronous extensions.
- Pre-built Artifacts: Most users can use the pre-built files located in the
./distdirectory rather than building from source.