How to use pouchdb-adapter-fruitdown - 1 common examples

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 {


PouchDB adapter using fruitdown as the data store.

Latest version published 5 years ago

Package Health Score

73 / 100
Full package analysis

Popular pouchdb-adapter-fruitdown functions

Similar packages