{"library":"koa-generic-session","type":"library","category":null,"description":"Generic session middleware for Koa framework (current stable v2.3.1). Provides flexible session management with pluggable external stores (redis, mongo, etc.) and supports synchronous and generator-based session handling. Key differentiator: it only writes cookies when session data changes, supports rolling sessions, and exposes session ID via this.sessionId. Requires Node >=6 and Koa v2, with async/await support. Maintained by the Koa core team.","language":"javascript","status":"active","version":"2.3.1","tags":["javascript","koa","middleware","session"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install koa-generic-session","imports":["import session from 'koa-generic-session'","import type { SessionStore } from 'koa-generic-session'","import { MemoryStore } from 'koa-generic-session'"]},{"cmd":"yarn add koa-generic-session","imports":[]},{"cmd":"pnpm add koa-generic-session","imports":[]}],"homepage":"https://github.com/koajs/generic-session#readme","github":"https://github.com/koajs/generic-session","docs":null,"changelog":null,"pypi":null,"npm":"koa-generic-session","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}