@hyper63/adapter-pouchdb

1.1.11 • Public • Published

hyper63 PouchDB Adapter

hyper63 is a service framework that provides a common set of service commands for applications.

  • data
  • cache
  • storage
  • search

This adapter is for the data service, it uses pouchdb as the data service stores.

How to configure

npm install @hyper63/adapter-pouchdb
import pouchdb from '@hyper63/adapter-pouchdb'

export default {
  app: express,
  adapters: [
    ...
    { port: 'data', plugins: [pouchdb({dir: './data'})]}
  ]
}

How to use

see https://purple-elephants.surge.sh

Testing

yarn test

Readme

Keywords

none

Package Sidebar

Install

npm i @hyper63/adapter-pouchdb

Weekly Downloads

2

Version

1.1.11

License

Apache-2.0

Unpacked Size

17.2 kB

Total Files

7

Last publish

Collaborators

  • hyper63