⚡One command to installnpx nuxi module add nuxt-telegram-auth and you're basically done. Component and composable are auto-imported.
🔒Actually secureHMAC-SHA256 verification on the server, timing-safe hash comparison, configurable session TTL. Follows Telegram's official spec.
🛡️Protect routes without the config messJust call requireTelegramSession(event) inside any server route. It's auto-imported, no setup needed.
🍪No database neededSessions live in a cookie. Works on Vercel, Netlify, anywhere. No Redis, no extra setup.
🔧Tweak what you needSession expiry is 24h by default but you can change it in nuxt.config.ts. Pretty much the only thing you'd want to configure anyway.
📘TypeScript out of the boxEverything is typed. Session data, composable return values, server utils. Your IDE will thank you.