pgtyped VS pg-to-ts

Compare pgtyped vs pg-to-ts and see what are their differences.

pg-to-ts

Generate TypeScript interface definitions from your Postgres schema (by danvk)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
pgtyped pg-to-ts
34 2
2,797 85
- -
8.7 3.3
4 days ago 5 months ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pgtyped

Posts with mentions or reviews of pgtyped. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-24.

pg-to-ts

Posts with mentions or reviews of pg-to-ts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-16.

What are some alternatives?

When comparing pgtyped and pg-to-ts you can also consider the following projects:

slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

kysely - A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely]

kanel - Generate Typescript types from Postgres

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

mfsqlchecker - Statically validate correctness of all your SQL queries. TypeScript, PostgreSQL

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

typesafe-query-builder - Generate SQL queries leveraging type inference and Postgres Json functions

kysely-codegen - Generate Kysely type definitions from your database.

kysely - A type-safe typescript SQL query builder

squabble - An extensible linter for SQL queries and migrations.