# pouchdb-browser

> PouchDB, the browser-only edition.

Latest version **9.0.0** (published 2024-06-21) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install pouchdb-browser
pnpm add pouchdb-browser
yarn add pouchdb-browser
bun add pouchdb-browser
```

## Health

**Score 43/100 (D)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; high maintenance score; popular repo.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 9.0.0 |
| Published | 2024-06-21 |
| First published | 2016-05-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | separate (@types/pouchdb-browser) |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 600.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 17625 |
| Author | Dale Harvey |

## Links

- npm: https://www.npmjs.com/package/pouchdb-browser
- Repository: https://github.com/pouchdb/pouchdb
- Homepage: https://github.com/pouchdb/pouchdb#readme
- Issues: https://github.com/pouchdb/pouchdb/issues
- npm.io page: https://npm.io/package/pouchdb-browser

## Dependencies (3)

- [uuid](https://npm.io/package/uuid.md) 8.3.2
- [vuvuzela](https://npm.io/package/vuvuzela.md) 1.0.3
- [spark-md5](https://npm.io/package/spark-md5.md) 3.0.2

## Recent versions

- 9.0.0 (latest) — 2024-06-21
- 8.0.1 — 2023-02-09
- 8.0.0 — 2022-12-15
- 7.3.1 — 2022-11-11
- 7.3.0 — 2022-04-13
- 7.2.2 — 2020-07-27
- 7.2.1 — 2020-02-16
- 7.1.1 — 2019-06-14
- 7.1.0 — 2019-06-13
- 7.0.0 — 2018-06-21
- 6.4.3 — 2018-02-02
- 6.4.2 — 2018-01-24
- 6.4.1 — 2017-12-18
- 6.4.0 — 2017-12-17
- 6.3.4 — 2017-07-15
- … 24 more at https://npm.io/package/pouchdb-browser/versions

## README

pouchdb-browser
======

PouchDB, the browser-only edition. A preset representing the PouchDB code that runs in the browser, without any of the code required to run it in Node.js.

The `pouchdb-browser` preset contains the version of PouchDB that is designed for the browser. In particular, it ships with the IndexedDB and WebSQL adapters as its default adapters. It also contains the replication, HTTP, and map/reduce plugins.

Use this preset if you only want to use PouchDB in the browser,
and don't want to use it in Node.js. (E.g. to avoid installing LevelDB.)

### Usage

```bash
npm install pouchdb-browser
```

```js
var PouchDB = require('pouchdb-browser');
var db = new PouchDB('mydb');
```

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

### 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).

---
_Source: https://npm.io/package/pouchdb-browser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
