Browser-based SQLite OPFS viewer for @sqlite.org/sqlite-wasm (peer dep v3.x). Provides a UI to inspect OPFS-backed databases, run arbitrary SQL queries, and filter tables. The only dedicated OPFS viewer for sqlite-wasm as of v1.2.0, actively maintained with monthly releases. Differentiators: zero server-side code, works offline via Service Worker, and supports persistent storage via OPFS.
npm install sqlite-wasm-viewerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes sqlite-wasm, creates a viewer instance, opens an OPFS database, and runs a sample SQL query.
Use import syntax or dynamic import().
Ensure @sqlite.org/sqlite-wasm is at ^3.0.0 in package.json.
Open databases via the viewer's open method with an OPFS-compatible name.
Use viewer.filter(tableName, condition) instead.
Ensure sqlite3InitModule() resolves and the result is passed to new SqliteWasmViewer(sqlite3).
Run npm install sqlite-wasm-viewer @sqlite.org/sqlite-wasm.
Use the viewer instance method: await viewer.open('mydb.sqlite3').