session-info

0.0.5 • Public • Published

A middleware that console.logs the current session info

npm Travis Coverage Status

Express session diagnostic for Connect and Express

Compatibility

  • Support Express 4.x and 5.0
  • Support Node.js 0.10, 0.12, 4.x, 5.x and all io.js versions

For use with express-session

Express 4.x, 5.0 and Connect 3.x:

Once added, you will get information regarding the session like:

  • sessionStore
  • sessionID
  • session
const session = require('express-session');
const info = require('session-info');
 
app.use(session());
app.use(info());
 

License

The MIT License

Package Sidebar

Install

npm i session-info

Weekly Downloads

9

Version

0.0.5

License

MIT

Last publish

Collaborators

  • mattmcfarland