{"library":"better-auth-cloudflare","type":"library","category":null,"description":"better-auth-cloudflare is a plugin designed to seamlessly integrate the Better Auth library with the Cloudflare ecosystem, including Workers, D1, Hyperdrive, KV, R2, and geolocation services. It is currently at version 0.3.0 and actively maintained with a continuous release cadence, addressing new features and compatibility updates. This library differentiates itself by providing out-of-the-box support for Cloudflare's serverless offerings, allowing developers to leverage D1 (SQLite), Postgres, and MySQL (via Drizzle ORM or native D1), KV for session caching, and R2 for file storage. It also automatically enriches user sessions with Cloudflare's geolocation and IP detection data, offering a comprehensive solution for authentication in Cloudflare environments without extensive manual setup, making it ideal for Hono, OpenNextJS, and other Worker-compatible frameworks.","language":"javascript","status":"active","version":"0.3.0","tags":["javascript","better-auth","auth","plugin","cloudflare","workers","kv","d1","r2","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-cloudflare","imports":["import { withCloudflare } from 'better-auth-cloudflare';","import type { CloudflareSession } from 'better-auth-cloudflare';","import type { BetterAuthCloudflareOptions } from 'better-auth-cloudflare';"]},{"cmd":"yarn add better-auth-cloudflare","imports":[]},{"cmd":"pnpm add better-auth-cloudflare","imports":[]}],"homepage":null,"github":"https://github.com/zpg6/better-auth-cloudflare","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-cloudflare","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-cloudflare/compatibility"}}