{"library":"better-auth-idle-timeout","type":"library","category":null,"description":"Automatically expires and revokes Better Auth sessions after a configurable period of user inactivity. Current stable version is 1.0.1, released in 2025. The plugin tracks activity via a global request hook, throttles database writes (default 60s cooldown) to prevent write-locking on rapid requests, and deletes the session on timeout. It requires TypeScript 5+ and Better Auth ^1.6.11. Key differentiator: lightweight, zero-dependency plugin model vs custom middleware solutions; tightly integrated with Better Auth's session lifecycle.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","better-auth","auth","plugin","idle","timeout","inactivity","session","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install better-auth-idle-timeout","imports":["import { idleTimeout } from 'better-auth-idle-timeout'","const { idleTimeout } = require('better-auth-idle-timeout')","import type { IdleTimeoutOptions } from 'better-auth-idle-timeout'"]},{"cmd":"yarn add better-auth-idle-timeout","imports":[]},{"cmd":"pnpm add better-auth-idle-timeout","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"better-auth-idle-timeout","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}