{"library":"express-socket.io-session","type":"library","category":null,"description":"Share a cookie-based express-session middleware with socket.io. Works with Express >=4.0.0 and socket.io >=1.0.0. The current stable version is 1.3.5, released 2018-07-07, with no further updates expected (last release over 6 years ago). It provides access to the Express session object via socket.handshake.session. Key differentiator: simple drop-in middleware that reuses the same express-session instance, avoiding the need for a separate session store. Alternative approaches include using JWT or custom middleware with socket.io's own session management.","language":"javascript","status":"maintenance","version":"1.3.5","tags":["javascript","socket.io","express","express-session"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-socket.io-session","imports":["import sharedsession from 'express-socket.io-session'","const sharedsession = require('express-socket.io-session')","import session from 'express-session'"]},{"cmd":"yarn add express-socket.io-session","imports":[]},{"cmd":"pnpm add express-socket.io-session","imports":[]}],"homepage":null,"github":"https://github.com/oskosk/express-socket.io-session","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-socket.io-session","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-socket.io-session/compatibility"}}