Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Forked from daleharvey/gist:437a6dc2887df5da7389
Last active August 29, 2015 14:01
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/60c863ffd8334bf1c5d5 to your computer and use it in GitHub Desktop.
Save nolanlawson/60c863ffd8334bf1c5d5 to your computer and use it in GitHub Desktop.
var expressPouchDB = require('express-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