Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 685 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 685 Bytes

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