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

6 lines (4 loc) 199 B
import { drizzle } from "drizzle-orm/postgres-js"; import postgres from "postgres"; const queryClient = postgres(process.env.DATABASE_URL || ""); export const db = drizzle({ client: queryClient });