Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict'
var bb = require('bluebird')
var __Promise = global.Promise
global.Promise = bb
var PouchDB = require('pouchdb')
bb.config({ warnings: false })
PouchDB.utils.Promise = bb
global.Promise = __Promise
PouchDB.plugin(require('pouchdb-find'))
module.exports = PouchDB