PouchDB was written to help web developers build applications that work offline as well as they do online. Applications save data locally, so the user can use all the features of an app even when they're offline. Plus, the data is synchronized between clients, so the user has up-to-date data wherever they go.
PouchDB uses various backends so it can work across different browsers and in Node.js. It uses IndexedDB in Firefox/Chrome/Opera/IE, WebSQL in Safari and most mobile browsers, and LevelDB in Node.js. It is currently tested and fully supported in:
- Firefox latest stable (v29+)
- Chrome latest stable (v34+)
- Desktop Safari latest stable (v6+)
- Internet Explorer (v10+)
- Opera latest stable (v21+)
- Android 4.0+
- iOS Safari latest stable (v7.1+)
PouchDB is experimental on Android 2.x and various mobile browsers and environments including Apache Cordova. It is known to work, but you may run into issues. As we resolve these issues we will update the fully supported list.
PouchDB requires an ES5 environment. If your browser does not support this (IE <= 9, Android < 4.0, Opera Mini), then you will need to include the es5-shim library.
Latest and greatest: pouchdb-3.2.1.min.js
For past releases and changelog, check out the Github releases page.
If you are using Node.js then run
$ npm install pouchdb
For an HTTP API to PouchDB check out PouchDB Server.