connect-couchdb is a middleware session storage for connect framework
- cradle (v 0.1.0)
Via npm :
$ npm install connect-couchdb
If database doesn't exist, it will create it and setting views. If database
already exist you'll need to setup views by running :
require('connect-couchdb').setup('yourdatabase').install()
Take a look at example.js
file to see an example of use.
database
: database name- ... all every parameters are passed to cradle.Connection()