TypeScript type-safety

Open-source TypeScript projects categorized as type-safety

Top 18 TypeScript type-safety Projects

  • ts-toolbelt

    đź‘· TypeScript's largest type utility library

  • Project mention: 5 Resources Each TypeScript Developer Should Know About | dev.to | 2024-03-10

    There are a bunch of awesome type utility libraries that may boost your works on types, like ts-toolbelt, utility-types, SimplyTyped, etc., which you can already use.

  • pgtyped

    pgTyped - Typesafe SQL in TypeScript

  • Project mention: Type-Safe Printf() in TypeScript | news.ycombinator.com | 2024-03-24

    There is an implementation of SQL that operates on a table shaped type, entirely at type level. For your amusement: https://github.com/codemix/ts-sql

    There are a bunch of more practical takes that codegen types from your database and generate types for your queries, eg: https://github.com/adelsz/pgtyped

    To me the second approach seems much more pragmatic because you don’t need to run a SQL parser in a fairly potato interpreter on every build

  • 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 logo
  • nexus-plugin-prisma

    Deprecated

  • mammoth

    A type-safe Postgres query builder for TypeScript. (by Ff00ff)

  • Project mention: PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno | news.ycombinator.com | 2023-10-14

    Super happy user of this [1] it's rather minimalistic but great.

    [1] https://github.com/Ff00ff/mammoth

  • remix-forms

    The full-stack form library for Remix and React Router

  • tsafe

    🔩 The missing TypeScript utils

  • vuex-smart-module

    Type safe Vuex module with powerful module features

  • 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.

    InfluxDB logo
  • nominal

    đź”’ The new way to do types in typescript.

  • iti

    ~1kB Dependency Injection Library for Typescript and React with a unique support of async flow

  • explicit-design

    Source code for the “Explicit Design” post series.

  • Project mention: Explicit Software Design. Preliminary Conclusions | dev.to | 2023-09-18

    If you have ideas that could complement this list, create an issue in the project repository. I’d be happy to discuss! 👋

  • eslint-plugin-total-functions

    An ESLint plugin to enforce the use of total functions (and prevent the use of partial functions) in TypeScript.

  • kysely-postgres-js

    Kysely dialect for PostgreSQL using the Postgres.js client.

  • Project mention: Show HN: Kysely, a type-safe SQL query builder for TypeScript | news.ycombinator.com | 2023-06-21

    postgres.js is dope! I'm maintaining a Kysely community dialect for it. https://github.com/igalklebanov/kysely-postgres-js

  • typed-xlsx

    A simple yet powerful library to effortlessly export any data into XLSX sheets, with the full power of type-safety and awesome DX

  • Project mention: Typed-xlsx - Effortlessly export any data into excel sheets, with the full power of type-safety and good DX | /r/node | 2023-12-05

    And here's the git repository : https://github.com/ChronicStone/typed-xlsx

  • ts-pojo-error

    🔥 Type safe pojo error will help you to easily create typed and serializable error.

  • wari

    A type-safe way to create and handle errors.

  • Project mention: wari: A type-safe way to create and handle errors. | /r/node | 2023-08-16
  • tRPC-example

    e2e type safety with tRPC (by nhevia)

  • mondrian-framework

    Framework for building modular, type-safe and documented backends.

  • Project mention: Build documented Rest & GraphQL API with ease | /r/SideProject | 2023-11-28
  • firebase-rules

    A type-safe Firebase Real-time Database Security Rules builder. Compose and re-use common rules. Reference constants used throughout the project. Catch any errors and typos. Auto-completion.

  • WorkOS

    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 logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript type-safety related posts

Index

What are some of the best open-source type-safety projects in TypeScript? This list will help you:

Project Stars
1 ts-toolbelt 6,406
2 pgtyped 2,800
3 nexus-plugin-prisma 833
4 mammoth 492
5 remix-forms 471
6 tsafe 384
7 vuex-smart-module 382
8 nominal 259
9 iti 119
10 explicit-design 88
11 eslint-plugin-total-functions 86
12 kysely-postgres-js 47
13 typed-xlsx 26
14 ts-pojo-error 14
15 wari 10
16 tRPC-example 9
17 mondrian-framework 8
18 firebase-rules 7

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