pouchdb README

The project's README from github.com/apache/pouchdb. As one markdown file: README.md.

Apache PouchDB – The Database that Syncs!

Build Status npm version jsDelivr Hits

Apache 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.

Apache PouchDB is currently undergoing Incubation at the Apache Software Foundation. Read the ASF Disclaimer for incubator projects.

Using PouchDB

To get started using PouchDB, check out the web site and API documentation.

Getting Help

The PouchDB community is active in #pouchdb on the CouchDB Slack, in the Google Groups mailing list, and on StackOverflow. Or you can mastodon @pouchdb!

If you think you've found a bug in PouchDB, please write a reproducible test case and file a Github issue.

Prerelease builds

If you like to live on the bleeding edge, you can build PouchDB from source using these steps:

git clone https://github.com/pouchdb/pouchdb.git
cd pouchdb
npm install

After running these steps, the browser build can be found in packages/node_modules/pouchdb/dist/pouchdb.js.

Changelog

PouchDB follows semantic versioning. To see a changelog with all PouchDB releases, check out the Github releases page.

For a concise list of breaking changes, there's the wiki list of breaking changes.

Keep in mind that PouchDB is auto-migrating, so a database created in 1.0.0 will still work if you open it in 4.0.0+. Any release containing a migration is clearly marked in the release notes.

Contributing

We're always looking for new contributors! If you'd like to try your hand at writing code, writing documentation, designing the website, writing a blog post, or answering questions on StackOverflow, then we'd love to have your input.

If you have a pull request that you'd like to submit, please read the contributing guide for info on style, commit message format, and other (slightly!) nitpicky things like that. PouchDB is heavily tested, so you'll also want to check out the testing guide.

The pouchdb.com Website

The documentation website at pouchdb.com is also part of this repo, in the /docs folder. It has its own /docs/WEBSITE_README.md

Website deployment happens automatically once the changes land in master.

pouchdb (apache/pouchdb)

Searching Database…

17.6K ·GitHub
What is this?PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser, letting web developers build apps that work offline as well as online.
Is it a library or a standalone database server?It's a JavaScript library you embed in your app (browser or Node.js) rather than a separate server process, though it can sync with a real CouchDB server.
How do I add it to a project?Install via npm and import it, or build it yourself from source with git clone, then npm install; the browser build output lands in packages/node_modules/pouchdb/dist/pouchdb.js.
What does it rely on under the hood for storage?PouchDB's dependencies include storage backends like LevelDOWN/LevelUP and WebSQL bindings, which it uses depending on the environment (browser vs Node).
Will my old databases still work after upgrading?Yes, PouchDB is auto-migrating, so a database created in 1.0.0 still works when opened in 4.0.0+; any release with a migration is clearly noted in release notes.
Does it really work offline?Yes, offline support is the core purpose of PouchDB — it's built so apps work as well offline as online, syncing changes when connectivity returns.
Does PouchDB sync with a server, or is it purely local?It's designed to sync with Apache CouchDB (or compatible servers), which is why it's described as 'the database that syncs' — local data replicates to and from a remote CouchDB instance.
Why 'Apache' PouchDB specifically?PouchDB is undergoing Incubation at the Apache Software Foundation, following ASF governance and licensing (Apache-2.0) as part of that process.
Where is the documentation?Full API docs and guides live on the pouchdb.com website, whose source is also included in this repo under the /docs folder.
Creator
apache
Size
124.9 MB
Stars
17.6K
Age
16y
Commits · 90 Days