{"library":"koa-encrypted-session","type":"library","category":null,"description":"Encrypted cookie-based session middleware for Koa, built on top of koa-session. Current stable version is 3.0.7, targeting Node.js >=16. It uses libsodium's Secret key box for encryption, providing a scalable, stateless alternative to server-side session stores. Unlike other Koa session middlewares, it eliminates the need for a database or external cache. Key differentiator: client-side encryption using sodium-native, with support for both a high-entropy secretKey or a passphrase+salt combination. Release cadence: maintenance mode with occasional dependency updates.","language":"javascript","status":"active","version":"3.0.7","tags":["javascript","koa","middleware","session","cookie","encrypted"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-encrypted-session","imports":["import encryptedSession from 'koa-encrypted-session'","import { encryptedSession } from 'koa-encrypted-session'","app.use(encryptedSession({ /* options */ }, app))"]},{"cmd":"yarn add koa-encrypted-session","imports":[]},{"cmd":"pnpm add koa-encrypted-session","imports":[]}],"homepage":null,"github":"https://github.com/nicokaiser/koa-encrypted-session","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-encrypted-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/koa-encrypted-session/compatibility"}}