mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 08:01:56 -05: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;
|