connect-session-sequelize

Session store for connect-session using sequelize

npm install connect-session-sequelize
23 downloads in the last day
56 downloads in the last week
141 downloads in the last month

Connect Session Store using Sequelize

Build Status

connect-session-sequelize is a SQL session store using Sequelize.js.

Installation

$ npm install connect-session-sequelize

Options

  • db a successfully connected Sequelize instance

Usage

var connect = require('connect')
    // for express, just call it with 'express'
    , SequelizeStore = require('connect-session-sequelize')(connect);

connect().use(connect.session({
    store: new SequelizeStore(options)
    , secret: 'CHANGEME'
}));

License

MIT

npm loves you