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 LevelDB in Node.js. It is currently tested and fully supported in:
- Firefox latest stable (v28)
- Chrome latest stable (v34)
- Desktop Safari latest stable (v7)
PouchDB is experimental on Internet Explorer 10+, Opera 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) you will need to include the es5-shim library.
Latest and greatest: pouchdb-2.1.0.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.