node package manager

Session middleware for your apps

Session middleware for that uses express-session.

var bus = require('')();
var session = require('');

The underlying component is
Which means this middleware component accepts the same configuration options. Here is a complete example.

var expressSession = require('express-session');
var RedisStore = require('connect-redis')(expressSession);
var sessionStore = new RedisStore();
var cookieParser = require('cookie-parser');
var session = require('');
var bus = require('')(3000);
bus.use(session({store: sessionStore, key:'sid', secret:'secret', parser:cookieParser()}));

Installation and Environment Setup

Install node.js (See download and install instructions here:

Clone this repository

> git clone

cd into the directory and install the dependencies

> cd
> npm install && npm shrinkwrap --dev

Running Tests

Install coffee-script

> npm install coffee-script -g

Tests are run using grunt. You must first globally install the grunt-cli with npm.

> sudo npm install -g grunt-cli

To run the tests, just run grunt

> grunt spec