By: Gareth Bowen
Published: 12 February 2020
New indexeddb adapter
[...]
The Database that Syncs!
PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser.
PouchDB was created to help web developers build applications that work as well offline as they do online.
It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.
Learn morevar db = new PouchDB('dbname');
db.put({
_id: 'dave@gmail.com',
name: 'David',
age: 69
});
db.changes().on('change', function() {
console.log('Ch-Ch-Changes');
});
db.replicate.to('http://example.com/mydb');
Cross Browser
Works in Firefox, Chrome, Opera, Safari, IE and Node.js
Lightweight
PouchDB is just a script tag and 46KB (gzipped) away in the browser, or $ npm install pouchdb
away
in Node.
Easy to Learn
Requires some programming knowledge, however PouchDB is a piece of cake to learn.
Open Source
Everything is developed out in the open on GitHub, contributors always welcome!
Latest
PouchDB 7.2.1 - New indexeddb adapter
PouchDB 7.1.1 - Bug fixes and dependency updates
By: Garren Smith
Published: 13 June 2019
We have another PouchDB release. The main improvements in this release are bug fixes and dependency updates. For a full changelog from 7.0 to 7.1.1, please see the releases page
[...]