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) 258 B
import { drizzle } from "drizzle-orm/libsql"; import { createClient } from "@libsql/client"; const client = createClient({ url: process.env.TURSO_CONNECTION_URL || "", authToken: process.env.TURSO_AUTH_TOKEN, }); export const db = drizzle({ client });