vue-sqlite-hook

JSON →
library 3.0.3 ·javascript
verified Jun 7, 2026

A Vue 3 composable (hook) wrapping @capacitor-community/sqlite for reactive database operations in Ionic/Capacitor apps. Current stable version v3.0.3 targets Capacitor 4 and Vue 3. Provides a simple useState-like API (useSqlite) with reactive state for queries, mutations, and transaction support. Unlike raw capacitor-community/sqlite, it integrates deeply with Vue's reactivity system, automatically triggering component re-renders on data changes. Ships TypeScript types. Supports iOS, Android, and Web with SQLite via Capacitor.