koa-encrypted-session
JSON →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.
Traffic · last 30 days ↓42% vs prev 7d
total hits 23
actors 7 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · VN · 🇨🇦 Canada · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/koa-encrypted-session
compatibility /v1/registry/koa-encrypted-session/compatibility