0.0.5 • Published 8 years ago

session-info v0.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

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