# vue-pouchdb

> Vue.js plugin for PouchDB

Latest version **1.0.0** (published 2016-03-14) · MIT license · 0 weekly downloads

## Install

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

## 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.0 |
| Published | 2016-03-14 |
| First published | 2016-03-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | BigBlueHat |
| Maintainers | bigbluehat |
| Keywords | Vue, PouchDB |

## Links

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

## Recent versions

- 1.0.0 (latest) — 2016-03-14

## README

[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
[![Patreon](https://img.shields.io/badge/donate-patreon-orange.svg?style=flat-square)](https://www.patreon.com/BigBlueHat)

# vue-pouchdb

[Vue.js](http://vuejs.com/) plugin that adds [PouchDB](http://pouchdb.com/)
to your Vue.js apps.

It also (currently) includes
[pouchdb-authentication](http://github.com/nolanlawsom/pouchdb-authentication)
because you probably should use that if you're building browser apps. :smiley_cat:

It's a tiny useful bit of code I extraced from [BlueInk](http://github.com/BigBlueHat/BlueInk).

## Usage

Assumes [browserify](http://browserify.org/):

```
Vue.use(require('vue-pouchdb'), {name: 'database-name'});
```

The first option is the plugin--see
[Vue.use()](http://vuejs.org/guide/plugins.html#Using_a_Plugin) for more info.
The second option is the [options object for PouchDB](https://pouchdb.com/api.html#create_database).

If you want to use this with [Apache CouchDB](http://couchdb.apache.org/) or [Cloudant](http://cloudant.com/), pass a database URL as the `name`. Easy peasy! :smiley_cat:

## License

MIT

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