UNPKG

create-better-t-stack

Version:

A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations

10 lines (7 loc) 254 B
import { drizzle } from "drizzle-orm/libsql"; import { createClient } from "@libsql/client"; const client = createClient({ url: process.env.DATABASE_URL || "", authToken: process.env.DATABASE_AUTH_TOKEN , }); export const db = drizzle({ client });