Built for Strong DevelopersStrongly Typed.
Strongly Typed.
Smarter Warnings.
The PostgreSQL ORM that feels invisible when you're right, and is uncompromisingly bold when you're about to break production.
Intelligence that
actually cares.
Most ORMs just run your queries. Kadak analyzes them. Get real-time feedback on potential table scans, missing limits, and risky mutations before they hit your production database.
- Prevention of accidental full-table scans
- Optimized connection pooling by default
- Predictable, zero-runtime overhead overhead
Intelligence API
await db.users.findMany()
Kadak Alert
"Query lacks $limit and filter. Large table detected."
One Schema. Total Confidence.
Definition once. Types everywhere. Optimized SQL always.
TS Schema
schema.ts
1export const users = table('users', {
2 id: 'id',
3 name: 'text',
4 email: 'email',
5 age: 'int?',
6})Generated SQL
insert.sql
1INSERT INTO users (
2 name, email, age
3) VALUES (
4 $1, $2, $3
5) RETURNING *;Inferred Type
types.ts
1type User = {
2 id: number;
3 name: string;
4 email: string;
5 age: number | null;
6}Ready to build Stronger?
Start simple. Grow bold. Kadak is free for everyone.
Install
$pnpm add @shyk/kadak-orm