pg-to-ts VS kysely

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

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
pg-to-ts kysely
2 26
91 9,317
- 3.2%
3.3 9.2
5 months ago 7 days 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.

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.
  • ADVICE WANTED - Typescript PostgreSQL without ORM
    7 projects | /r/typescript | 16 Oct 2022
    I have so far found: - kanel https://github.com/kristiandupont/kanel - and pg-to-ts https://github.com/danvk/pg-to-ts
  • Postgres to TypeScript Interfaces and Enums
    13 projects | news.ycombinator.com | 20 Jun 2021
    There are many forks of schemats out there that add various features. Here’s mine: https://github.com/danvk/pg-to-ts

    It copies Postgres comments over to JSDoc/TSDoc comments, emits some data about foreign key relationships and supports TS types for json/jsonb columns via @type comments. Feel free to copy any of those feature if you think they’re good ideas :)

kysely

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

What are some alternatives?

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

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

drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅

kanel - Generate Typescript types from Postgres

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

pgtyped - pgTyped - Typesafe SQL in TypeScript

Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

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

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.

squabble - An extensible linter for SQL queries and migrations.

prisma-kysely - 🪄 Generate Kysely types directly from your Prisma schema!

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

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.