(#2632) - remove browserified Buffer from build

So apparently Browserify does this thing where,
if you do "./mydep": "false", you need to reference
all possible relative paths used to that dependency,
whereas if you just swap it out for an empty
implementation then it works regardless of the relative
path used.

This solution is dumb, but it cuts down the min+gz size
from 51185 to 46298.
3 files changed
tree: 12b1bf234a9a15c2b79bff0ab0c678e699869122
  1. bin/
  2. docs/
  3. lib/
  4. scripts/
  5. tests/
  6. vendor/
  7. .gitignore
  8. .jshintignore
  9. .jshintrc
  10. .npmignore
  11. .travis.yml
  12. bower.json
  13. component.json
  14. CONTRIBUTING.md
  15. LICENSE
  16. package.json
  17. README.md
  18. TESTING.md
README.md

PouchDB - The Javascript Database that Syncs

Build Status

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().on('change', function() {
  console.log('Ch-Ch-Changes');
});

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