{"library":"better-auth-offline","type":"library","category":null,"description":"An offline-first plugin for better-auth v1+ that caches auth API responses in IndexedDB, allowing apps to function without network connectivity. Released as v0.0.2 (latest) with patch-level updates. Automatically caches allowlisted GET endpoints (e.g., /get-session) and serves cached data when network fails. Includes configurable allowlist, custom storage adapters, online status tracking, and SSR support. Differentiates from generic caching libraries by being a drop-in plugin for better-auth, handling cache invalidation on sign-in/sign-out to prevent cross-user data leaks, and adding an X-Offline-Cache header for detection.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript","better-auth","offline","offline-first","local","local-first","pwa","cache","service-worker","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-offline","imports":["import { offlinePlugin } from 'better-auth-offline';","import type { OfflineOptions } from 'better-auth-offline';","import { defaultAllowlist } from 'better-auth-offline';"]},{"cmd":"yarn add better-auth-offline","imports":[]},{"cmd":"pnpm add better-auth-offline","imports":[]}],"homepage":null,"github":"https://github.com/MrLightful/better-auth-offline","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-offline","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/better-auth-offline/compatibility"}}