PouchDB Adapter for Cordova SQLite

JSON →
library 2.0.8 ·javascript maintenance
verified Jun 7, 2026

A PouchDB adapter that uses native Cordova SQLite as its backing store, providing persistent local storage for hybrid mobile apps. Version 2.0.8 is current; the package is in maintenance mode with infrequent updates. It supports multiple Cordova SQLite plugins (cordova-sqlite-storage, cordova-plugin-sqlite-2, cordova-plugin-websql) and falls back to WebSQL if no SQLite plugin is detected. The adapter was extracted from PouchDB core in v6.0.0 to simplify configuration. Requires manual registration via PouchDB.plugin() and must be used within the Cordova deviceready event. Key differentiator: native SQLite performance vs. bundled WebSQL, with configurable storage options (location, androidDatabaseImplementation).