Dev tools · alternatives · 2026
24 alternatives to PgTyped – Typesafe SQL in TypeScript and Postgres
pgTyped - Typesafe SQL in TypeScript. Contribute to adelsz/pgtyped development by creating an account on GitHub.
PgTyped is a developer tool that enables typesafe SQL queries in TypeScript applications using Postgres databases. It generates TypeScript types automatically from SQL statements, ensuring queries match their… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. PgTyped – Typesafe SQL in TypeScript and Postgres launched in 2020; newer entries below may have overtaken it.
- 1

pgTyped - Typesafe SQL in TypeScript. Contribute to adelsz/pgtyped development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 2

Throughout my career, I tried many tools to query PostgreSQL, and in the end, concluded that for what I do, the simplest is almost always the best: raw SQL queries. Until now, I typed the results manually and relied on tests to catch problems. While this is OK in e.g., GoLang, it is quite annoying in TypeScript. First, because of the more powerful type system (it's easier to guess that updated_at is a date than it is to guess whether it's nullable or not), second, because of idiosyncrasies (INT4s are deserialised as JS numbers, but INT8s are deserialised as strings). So I wrote pg-typesafe,…
Feb 2026 · github.com · its alternatives →
- 3

A SQL database implemented purely in TypeScript type annotations. - codemix/ts-sql
2020 · github.com · its alternatives →
- 4

Hey all, I'm the creator of @pg-nano/pg-parser. I'm using it in pg-nano[1] to statically analyze Postgres schemas spread across multiple SQL files for a couple of reasons: 1. Each CREATE statement needs to be in topological order, so pg-nano's dev command can execute them without issue. 2. pg-nano has a plugin system like Vite that allows SQL generation based on the parsed schema. Probably to the surprise of no one, working with an untyped AST feels like you're back in the days of JavaScript, because well... you are. Most of you know by now just how great TypeScript and static types in…
2024 · github.com · its alternatives →
- 5KA
The most powerful type-safe SQL query builder for TypeScript
2023 · kysely.dev · its alternatives →
- 6

An extremely simple and explicit ORM for TypeScript - Seb-C/kiss-orm
2020 · github.com · its alternatives →
- 7

GraphQL for Postgres. Contribute to solidsnack/GraphpostgresQL development by creating an account on GitHub.
2015 · github.com · its alternatives →
- 8

Contribute to yasserf/postgres-typed development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 9

Build Typed GraphQL Queries in TypeScript without the code generation - acro5piano/typed-graphqlify
2018 · github.com · its alternatives →
- 10

Hey, Sam and the team from ElectricSQL here. PGlite is a WASM Postgres build packaged into a TypeScript/JavaScript client library, that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It's 3mb Gzipped, now has support for many Postgres extensions, including pgvector, and it has a reactive "live query" API. It's also fast, with CRUD style queries executing in under 0.3 ms, and larger, multi-row select queries occurring within a fraction of a single frame. PGlite started as an experimental project we shared on X, and the…
2024 · pglite.dev · its alternatives →
- 11
Arctype▲492Supercharged SQL client for developers and teams
2021 · clickhouse.com · its alternatives →
- 12

This extension let's you write PRQL functions in PostgreSQL. When I first saw PRQL on Hacker News a few months ago, I was immediately captivated by the idea, yet equally disappointed that there was no integration for PostgreSQL. Having previous experience with writing PostgreSQL extensions in C, I thought this was a great opportunity to try out the pgrx framework and decided to integrate PRQL with PostgreSQL myself. The maintainers of both PRQL and pgrx were very nice to work with. Thanks guys.
2024 · github.com · its alternatives →
- 13
Prostgles▲62Isomorphic TypeScript client for PostgreSQL with replication
2020 · prostgles.com · its alternatives →
- 14

Kretes is a programming environment for TypeScript applications built on top of Visual Studio Code. It combines a web framework with an editor into an integrated, battery-included solution.
2020 · kretes.dev · its alternatives →
- 15

Types generator for your Bun.sql queries. Contribute to ilbertt/bun-sqlgen development by creating an account on GitHub.
Jun 2026 · github.com · its alternatives →
- 16PS
PL/Swift allows you to write custom SQL functions and types for the PostgreSQL database server in the Swift programming language. Bringing Swift to the Backend of the Backend’s Backend!
2018 · alwaysrightinstitute.com · its alternatives →
- 17

PgQueuer is a Python job queue that uses PostgreSQL for everything — queue storage, locking, notifications. No Redis, no RabbitMQ, no separate broker to operate. If your app already has Postgres, you already have the broker. After ~2 years and 26 minor releases, 1.0 ships today as the first stable release. Strict semver from here on. Thanks to everyone who contributed and left feedback!
2024 · github.com · its alternatives →
- 18

We like open source, we develop open source software, and we are very active and well known at Postgres community. We also develop custom products for clients, always around Postgres environment
2020 · ongres.com · its alternatives →
- 19

Hi HN - Peter from DBOS here with my co-founder Qian (qianl_cs) Today we want to share our TypeScript library for lightweight durable execution. We’ve been working on it since last year and recently released v2.0 with a ton of new features and major API overhaul. https://github.com/dbos-inc/dbos-transact-ts Durable execution means persisting the execution state of your program while it runs, so if it is ever interrupted or crashes, it automatically resumes from where it left off. Durable execution is useful for a lot of things: - Orchestrating long-running or…
2025 · github.com · its alternatives →
- 20

- 21

GraphQL APIs in TypeScript with complete e2e type safety
2021 · uniform-graphql.whatsgood.dog · its alternatives →
- 22SC
2019 · conroy.org · its alternatives →
- 23

Non-interactive PostgreSQL query tool. Contribute to soheilpro/pgcmd development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 24

2024 · litdb.dev · its alternatives →
Also compare
- PgTyped – Typesafe SQL – TypeScript types generator for raw SQL queries alternatives
- Pg-typesafe – Strongly typed queries for PostgreSQL and TypeScript alternatives
- A SQL database implemented purely in TypeScript type annotations alternatives
- Parse your Postgres queries into a fully-typed AST in TypeScript alternatives
- Kysely, a type-safe SQL query builder for TypeScript alternatives
- ORM for TypeScript with no query-builder, supporting full SQL queries alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →