PostgreSQL,
expressed in TypeScript

Import the full power of Postgres as a TypeScript library.

Typegres Demo

What makes Typegres different

A new approach to working with SQL - currently in developer preview

Type-Safe Query Composition

Every PostgreSQL expression is typed and composable. Build complex queries from typed primitives - from individual columns to CTEs.

Zero SQL Strings

Full support for 3000+ PostgreSQL built-in functions. Write complex queries as pure TypeScript.

Learn PostgreSQL, Not Your ORM

Master PostgreSQL's actual capabilities instead of an abstraction layer. Your knowledge transfers directly to raw SQL.

Ready to dive in?

Experience the power of PostgreSQL with the safety and convenience of TypeScript.