How to use the pouchdb-adapter-fruitdown function in pouchdb-adapter-fruitdown

To help you get started, we’ve selected a few pouchdb-adapter-fruitdown examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pouchdb / pouchdb / packages / pouchdb / src / extras / fruitdown.js View on Github external
/* global PouchDB */

import FruitdownPouchPlugin from 'pouchdb-adapter-fruitdown';
import { guardedConsole } from 'pouchdb-utils';

var PDB = (typeof PouchDB !== 'undefined') ? PouchDB : require('pouchdb');
if (!PDB) {
  guardedConsole('error', 'fruitdown adapter plugin error: ' +
    'Cannot find global "PouchDB" object! ' +
    'Did you remember to include pouchdb.js?');
} else {
  FruitdownPouchPlugin(PDB);
}

pouchdb-adapter-fruitdown

PouchDB adapter using fruitdown as the data store.

Apache-2.0
Latest version published 6 years ago

Package Health Score

73 / 100
Full package analysis

Popular pouchdb-adapter-fruitdown functions

Similar packages