{"library":"hono-sessions","type":"library","category":null,"description":"hono-sessions is a middleware library designed for the Hono web framework, providing robust cookie-based session management. Currently at version 0.8.1, the library is actively maintained with a focus on stability and features like `autoExtendExpiration` and improved type safety. It differentiates itself by supporting a wide array of runtimes, including Node.js (v20+), Deno, Bun, Cloudflare Workers, and Cloudflare Pages, leveraging the Web Crypto API for secure, encrypted cookies via `iron-webcrypto`. Key features include support for 'flash messages' (data deleted after one read), built-in Memory and Cookie storage drivers, extensible architecture for custom drivers (like Bun SQLite), and strong TypeScript typing for session variables. It offers a flexible approach to user session management, particularly powerful in serverless and edge environments where persistent server-side state might be impractical.","language":"javascript","status":"active","version":"0.8.1","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hono-sessions","imports":["import { sessionMiddleware } from 'hono-sessions'","import { CookieStore } from 'hono-sessions'","import { Session } from 'hono-sessions'"]},{"cmd":"yarn add hono-sessions","imports":[]},{"cmd":"pnpm add hono-sessions","imports":[]}],"homepage":null,"github":"https://github.com/jcs224/hono_sessions","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hono-sessions","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/hono-sessions/compatibility"}}