Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Created May 28, 2014 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nolanlawson/7cebec7bc8f99115fe3e to your computer and use it in GitHub Desktop.
Save nolanlawson/7cebec7bc8f99115fe3e to your computer and use it in GitHub Desktop.
var expressPouchDB = require('express-pouchdb')(require('pouchdb'));
expressPouchDB.setBackend(require('memdown'));
app.use(expressPouchDB);
var pouch = expressPouchDB.getPouchDB('dbname');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment