A Stencil-based web component that provides SQLite database capabilities in the browser, backed by sql.js for SQL execution and localforage for IndexedDB storage. Version 2.8.0, updated to Stencil 4.20.0 and sql.js 1.11.0. Supports multiple databases stored in a single IndexedDB store. Designed for use in PWA and Capacitor-Community-SQLite web implementation. Integrates with frameworks like Vue, React, Ionic/Angular, SolidJS. Offers APIs similar to @capacitor-community-sqlite for testing compatibility.
npm install jeep-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows creating a connection, opening a database, executing SQL, and querying data.
Copy the WASM file to your assets. For Vite: copy via vite-plugin-static-copy or manual.
Pin sql.js to 1.8.0 in package.json overrides.
Ensure Stencil configuration includes that flag if building with Vite.
Use import 'jeep-sqlite' for side effects only.
Copy node_modules/sql.js/dist/sql-wasm.wasm to your app's public/assets (or equivalent).
Downgrade sql.js to 1.8.0 in your package.json.
Ensure you have imported the package with import 'jeep-sqlite'; and that your bundler (e.g., Vite) handles it.