JSPM

  • Created
  • Published
  • Downloads 51483
  • Score
    100M100P100Q162103F

PouchDB is a pocket-sized database.

Package Exports

  • pouchdb
  • pouchdb/lib/deps/errors
  • pouchdb/lib/index

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pouchdb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

PouchDB - The Javascript Database that Syncs

PouchDB was written to help web developers build applications that work as well offline as well as they do online, applications save data locally so the user can use all the features of an app even while offline and synchronise the data between clients so they have up to date data wherever they go.

PouchDB is a free open source project, written in Javascript by these wonderful contributors and inspired by Apache CouchDB.

Using PouchDB

To get started using PouchDB check out our Documentation and the API Documentation.

Contributors

If you want to get involved then check out the contributing guide

Example

var db = new PouchDB('dbname');

db.put({
 _id: 'dave@gmail.com',
 name: 'David',
 age: 66
});

db.changes({
  onChange: function() {
    console.log('Ch-Ch-Changes');
  }
});

db.replicate.to('http://example.com/mydb');