Session management middleware for connect
JavaScript
Pull request Compare This branch is 108 commits behind tdebarochez:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
.npmignore
LICENSE
README.md
example.js
index.js
package.json

README.md

Connect CouchDB

connect-couchdb is a middleware session storage for connect framework

Requirement

  • cradle (v 0.1.0)

Installation

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()

Example

Take a look at example.js file to see an example of use.

Options

  • database: database name
  • ... all every parameters are passed to cradle.Connection()