# pouchdb-adapter-hyperbee

> PouchDB adapter for p2p data with hyperbee

Latest version **1.0.3** (published 2021-02-22) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install pouchdb-adapter-hyperbee
pnpm add pouchdb-adapter-hyperbee
yarn add pouchdb-adapter-hyperbee
bun add pouchdb-adapter-hyperbee
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-02-22 |
| First published | 2021-01-26 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 37.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | rangermauve |
| Maintainers | rangermauve |

## Links

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

## Dependencies (2)

- [networked-hyperbeedown](https://npm.io/package/networked-hyperbeedown.md) ^1.0.0
- [pouchdb-adapter-leveldb-core](https://npm.io/package/pouchdb-adapter-leveldb-core.md) ^7.2.2

## Recent versions

- 1.0.3 (latest) — 2021-02-22
- 1.0.2 — 2021-02-05
- 1.0.1 — 2021-02-04
- 1.0.0 — 2021-01-26

## README

# pouchdb-adapter-hyperbee

Adapter for PouchDB to load p2p data from Hyperbee

## Example

```JavaScript
PouchDB.plugin(require('poouchdb-adapter-hyperbee')())

// You can pass any valid `hyper://` URL
// URLs with a `name` in them will generate a local hyperbee
// You can sparsely load remote DBs with a full `hyper://` URL
const pouch = new PouchDB('hyper://example', {
  adapter: 'hyperbee'
})

// Wait for the DB to open if you want to access the bee directly
pouch.once('open', () => {
  const url = await pouch.getURL()

  // In case you want to access the hyperbee instance directly
  const bee = pouch.bee
})
```

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