mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 04:19:22 +00:00
9 lines
210 B
TypeScript
9 lines
210 B
TypeScript
import { betterAuth } from "better-auth";
|
|
import Database from "better-sqlite3";
|
|
|
|
export const auth = betterAuth({
|
|
database: new Database("database.db"),
|
|
});
|
|
|
|
export type Session = typeof auth.$Infer.Session;
|