| pouchdb-promise  |
| ====== |
| |
| Promises as used by PouchDB. By default exports `global.Promise` if available, else falls back to `lie`. |
| |
| **Deprecation notice**: this package is still published, but it is deprecated in PouchDB 7.0 as PouchDB now uses native promises. If you require a Promise polyfill, please use your own or feel free to use this one, e.g.: |
| |
| ```javascript |
| window.Promise = window.Promise || require('pouchdb-promise'); |
| ``` |
| |
| ### Usage |
| |
| ```bash |
| npm install --save-exact pouchdb-promise |
| ``` |
| |
| For full API documentation and guides on PouchDB, see [PouchDB.com](http://pouchdb.com/). For details on PouchDB sub-packages, see the [Custom Builds documentation](http://pouchdb.com/custom.html). |
| |
| ### Warning: semver-free zone! |
| |
| This package is conceptually an internal API used by PouchDB or its plugins. It does not follow semantic versioning (semver), and rather its version is pegged to PouchDB's. Use exact versions when installing, e.g. with `--save-exact`. |
| |
| |
| ### Source |
| |
| PouchDB and its sub-packages are distributed as a [monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md). |
| |
| For a full list of packages, see [the GitHub source](https://github.com/pouchdb/pouchdb/tree/master/packages). |
| |
| |