pg-to-ts

Generate TypeScript interface definitions from your Postgres schema (by danvk)

Pg-to-ts Alternatives

Similar projects and alternatives to pg-to-ts

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pg-to-ts alternative or higher similarity.

pg-to-ts reviews and mentions

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 :)

Stats

Basic pg-to-ts repo stats
2
86
3.3
5 months ago

danvk/pg-to-ts is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of pg-to-ts is TypeScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com