PouchDB

Component ID

1686564

Component name

PouchDB

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

438

Component created

Component changed

Component body

PouchDB is a JavaScript library that allows you to store and query data for web applications that need to work offline, and sync with an online database when you are online.

The Browser Database that Syncs

Based on the work of Apache CouchDB, PouchDB provides a simple API in which to store and retrieve JSON objects, due to the similiar API, and CouchDB's HTTP API it is possible to sync data that is stored in your local PouchDB to an online CouchDB as well as syncing data from CouchDB down to PouchDB (you can even sync between 2 PouchDB databases).

Status & Browser Support

PouchDB is currently in alpha preview. The first version will support browsers that have implemented the HTML5 IndexedDB API. Work is being done on providing support for WebSQL as well as LocalStorage and node.js. Currently tested in:

  • Firefox 12+
  • Chrome 19+

Installation

Libraries 7.x-2.x is required. Download pouch.alpha.min.js and place it in sites/all/libraries/pouchdb .