Astro Cookie Session
JSON →Middleware for managing session data using cookies in Astro SSR applications. Current version 1.3.0 (released 2024-12, active development). Session data is encrypted and stored client-side in cookies, not on the server, making it suitable for stateless architectures. Supports TypeScript with type-safe session definitions and optional flash messages. Key differentiators: zero external dependencies beyond Astro, encryption of payloads (added in 1.3.0), simple API similar to remix-run session handling, and built-in flash message support.
Traffic · last 30 days stale · no recent hits
total hits 30
actors 8 distinct systems
last hit 18d ago DotBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France · 🇨🇳 China
Resources
API endpoints
full doc /v1/registry/astro-cookie-session
compatibility /v1/registry/astro-cookie-session/compatibility