{"library":"socket.io-cookie-parser","type":"library","category":null,"description":"socket.io-cookie-parser is a middleware specifically designed for Socket.IO applications, enabling the parsing of HTTP cookies on incoming WebSocket connections. Currently at stable version 1.0.0, this package acts as a thin wrapper around the widely used `express-cookie-parser` library, allowing developers to seamlessly share cookie-based session and authentication data between their Express.js HTTP server and Socket.IO real-time layer. Its primary utility lies in simplifying the process of accessing client-side cookies, making them available on `socket.request.cookies` and `socket.request.signedCookies`. This facilitates consistent authentication and state management in applications utilizing both traditional HTTP routes and WebSockets. The package is typically stable, following the lifecycle of its `express-cookie-parser` dependency, with new releases primarily addressing compatibility or minor enhancements.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","socket.io","socket","cookie","cookies","cookie-parser","parse","parser","parsing"],"install":[{"cmd":"npm install socket.io-cookie-parser","imports":["const cookieParser = require('socket.io-cookie-parser');","io.use(cookieParser('secret', { /* options */ }));","socket.request.cookies;"]},{"cmd":"yarn add socket.io-cookie-parser","imports":[]},{"cmd":"pnpm add socket.io-cookie-parser","imports":[]}],"homepage":null,"github":"https://github.com/mhuggins/socket.io-cookie-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/socket.io-cookie-parser","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/socket.io-cookie-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}