{"id":65578,"url":"https://github.com/jellydn/awesome-typesafe","name":"awesome-typesafe","description":"A curated list of awesome 🔥 TypeScript Typesafe Libraries🔥","projects_count":74,"last_synced_at":"2026-09-04T14:00:26.506Z","repository":{"id":60105570,"uuid":"535631825","full_name":"jellydn/awesome-typesafe","owner":"jellydn","description":"A curated list of awesome 🔥 TypeScript Typesafe Libraries🔥","archived":false,"fork":false,"pushed_at":"2026-08-05T02:53:33.000Z","size":139,"stargazers_count":177,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-08-15T21:09:47.218Z","etag":null,"topics":["awesome","awesome-list","typesafe","typescript"],"latest_commit_sha":null,"homepage":"http://typesafe.itman.fyi/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jellydn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["jellydn"],"ko_fi":"dunghd","buy_me_a_coffee":"dunghd","polar":"jellydn"}},"created_at":"2022-09-12T11:18:06.000Z","updated_at":"2026-08-13T12:51:18.000Z","dependencies_parsed_at":"2025-11-17T09:00:33.302Z","dependency_job_id":"54a623e6-bdcb-48e7-bf90-393d26542ad9","html_url":"https://github.com/jellydn/awesome-typesafe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jellydn/awesome-typesafe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fawesome-typesafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fawesome-typesafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fawesome-typesafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fawesome-typesafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jellydn","download_url":"https://codeload.github.com/jellydn/awesome-typesafe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fawesome-typesafe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":336071963,"owners_count":37021026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-04T02:00:06.169Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2024-09-05T00:00:20.939Z","updated_at":"2026-09-04T14:00:26.506Z","primary_language":"JavaScript","list_of_lists":false,"displayable":true,"categories":["Contributors ✨","**1. Libraries**"],"sub_categories":["Others","Styles","APIs","Functional Programming","Database","Web","GraphQL","Blockchain","AI"],"readme":"# **Awesome Typesafe**\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n_A curated list of awesome TypeScript Typesafe_\n\n[![Awesome](https://awesome.re/badge.svg)](https://awesome.re)\n\n[![IT Man - Talk #31 - Awesome TypeScript Typesafe [Vietnamese]](https://i.ytimg.com/vi/nDdAmZQTjSQ/hqdefault.jpg)](https://www.youtube.com/watch?v=nDdAmZQTjSQ)\n\n## **Table of Contents**\n1. [Libraries](#libraries)\n   - [Database](#database)\n   - [APIs](#apis)\n   - [GraphQL](#graphql)\n   - [Web](#web)\n   - [Styles](#styles)\n   - [Blockchain](#blockchain)\n   - [Functional Programming](#functional-programming)\n   - [AI](#ai)\n   - [Others](#others)\n2. [Contributions](#contributions)\n3. [Author](#author)\n4. [Support](#support)\n\n\u003ca name=\"libraries\"/\u003e\n\n## **1. Libraries**\n\n\u003ca name=\"database\"/\u003e\n\n### Database\n- [ts-safeql/safeql](https://github.com/ts-safeql/safeql) - Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.\n- [koskimas/kysely](https://github.com/koskimas/kysely) - A type-safe TypeScript SQL query builder.\n- [gajus/slonik](https://github.com/gajus/slonik) - A Node.js PostgreSQL client with runtime and build-time type safety, and composable SQL.\n- [bridge-codes/bridge-mongo](https://github.com/bridge-codes/bridge-mongo) - A fully typed mongoose ORM.\n- [kristiandupont/kanel](https://github.com/kristiandupont/kanel) - Generate Typescript types from Postgres.\n- [samchon/safe-typeorm](https://github.com/samchon/safe-typeorm) - TypeORM helper library enhancing safety in the compilation level.\n- [aerotoad/neboa](https://github.com/aerotoad/neboa) - Type-safe NoSQL with Node \u0026 SQLite.\n- [wsporto/typesql](https://github.com/wsporto/typesql) - Generate Typescript API from raw MySQL queries. Supports MySQL, Sqlite and LibSQL (Turso).\n- [litdb/litdb](https://github.com/litdb/litdb) - Lightweight RDBMS agnostic TypeScript/JS abstraction for SQLite, PostgreSQL and MySQL.\n\n\u003ca name=\"apis\"/\u003e\n\n### APIs\n- [trpc/trpc](https://github.com/trpc/trpc) - Create end-to-end typesafe APIs with ease.\n- [ts-rest/ts-rest](https://github.com/ts-rest/ts-rest) - RPC-like client, contract, and server implementation for a pure REST API.\n- [orval-labs/orval](https://github.com/orval-labs/orval) - Generate type-safe TypeScript clients, hooks, and mocks from OpenAPI/Swagger specs.\n- [ardatan/feTS](https://github.com/ardatan/feTS) - TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance \u0026 great developer experience.\n- [betwixt-labs/tempo](https://github.com/betwixt-labs/tempo) - Cross-platform, end-to-end typesafe APIs with low latency.\n- [stepci/garph](https://github.com/stepci/garph) - Fullstack GraphQL Framework for TypeScript.\n- [BetterTyped/hyper-fetch](https://github.com/BetterTyped/hyper-fetch) - Hyper Fetch is a data-exchange framework focusing on type-safe design and ease of use.\n- [type-predicate-generator](https://github.com/peter-leonov/type-predicate-generator) - 100% type safe predicates for JSON APIs with blazing performance\n- [unnoq/orpc](https://github.com/unnoq/orpc) - Typesafe APIs Made Simple, with first-class OpenAPI support.\n- [cloudflare/capnweb](https://github.com/cloudflare/capnweb) - JavaScript/TypeScript-native, low-boilerplate, object-capability RPC system.\n- [encoredev/encore](https://github.com/encoredev/encore) - Type-safe backend framework with declarative infrastructure and automatic API client generation.\n\n\u003ca name=\"graphql\"/\u003e\n\n### GraphQL\n- [hayes/pothos](https://github.com/hayes/pothos) - Create GraphQL schemas in TypeScript using a strongly typed code-first approach.\n- [gqty-dev/gqty](https://github.com/gqty-dev/gqty) - A GraphQL client built for rapid iteration.\n- [0no-co/gql.tada](https://github.com/0no-co/gql.tada) - Magical GraphQL query engine for TypeScript.\n- [captbaritone/grats](https://github.com/captbaritone/grats) - Implementation-First GraphQL for TypeScript.\n\n\u003ca name=\"web\"/\u003e\n\n### Web\n- [swan-io/chicane](https://github.com/swan-io/chicane) - A simple and safe router for React and TypeScript.\n- [TanStack/router](https://github.com/tanstack/router) - Type-safe router with built-in caching \u0026 URL state management for various frameworks.\n- [TanStack/form](https://github.com/TanStack/form) - 🤖 Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, and Lit.\n- [jamesopstad/typesafe-router](https://github.com/jamesopstad/typesafe-router) - A tiny wrapper library for React Router that dramatically improves type safety.\n- [iway1/react-ts-form](https://github.com/iway1/react-ts-form) - Build maintainable, type-safe forms faster.\n- [IdoPesok/zsa](https://github.com/IdoPesok/zsa) - Typesafe Server Actions for Next.js.\n- [typesafe-i18n](https://github.com/ivanhofer/typesafe-i18n) - A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.\n- [StellateHQ/fuse.js](https://github.com/StellateHQ/fuse.js) - Fuse.js: The opinionated framework for creating typesafe data layers\n- [desko27/react-call](https://github.com/desko27/react-call) - Call your React components\n- [47ng/nuqs](https://github.com/47ng/nuqs) - Type-safe search params state manager for React frameworks - Like useState, but stored in the URL query string.\n- [nivandres/intl-t](https://github.com/nivandres/intl-t) - A Object-Typed Node-Based i18n Translation Library\n\n\u003ca name=\"styles\"/\u003e\n\n### Styles\n- [sannajammeh/tw-classed](https://github.com/sannajammeh/tw-classed) - Make your Tailwind components re-usable.\n- [vanilla-extract-css/vanilla-extract](https://github.com/vanilla-extract-css/vanilla-extract) - Zero-runtime Stylesheets-in-TypeScript.\n- [nextui-org/tailwind-variants](https://github.com/nextui-org/tailwind-variants) - Tailwindcss first-class variant API.\n- [chakra-ui/panda](https://github.com/chakra-ui/panda) - Universal, Type-Safe, CSS-in-JS Framework for Product Teams.\n- [gregberge/twc](https://github.com/gregberge/twc) - Create reusable React + Tailwind components in one line.\n- [tokenami/tokenami](https://github.com/tokenami/tokenami) - Atomic CSS in the style attribute. Type-safe static styles with theming, responsive variant support, and no bundler integration.\n\n\u003ca name=\"blockchain\"/\u003e\n\n### Blockchain\n- [dethcrypto/TypeChain](https://github.com/dethcrypto/TypeChain) - TypeScript bindings for Ethereum smart contracts.\n- [wagmi-dev/abitype](https://github.com/wagmi-dev/abitype) - Strict TypeScript types for Ethereum ABIs.\n\n\u003ca name=\"functional-programming\"/\u003e\n\n### Functional Programming\n- [gcanti/fp-ts](https://github.com/gcanti/fp-ts) - A library for typed functional programming in TypeScript.\n- [millsp/ts-toolbelt](https://github.com/millsp/ts-toolbelt) - TypeScript's largest type utility library.\n- [Effect-TS/effect](https://github.com/Effect-TS/effect) - A fully-fledged functional effect system for TypeScript with a rich standard library.\n- [gvergnaud/TS-Pattern](https://github.com/gvergnaud/ts-pattern) - The exhaustive Pattern Matching library for TypeScript with smart type inference.\n- [swan-io/boxed](https://github.com/swan-io/boxed?) - Essential building-blocks for functional \u0026 safe TypeScript code.\n- [toss/es-toolkit](https://github.com/toss/es-toolkit) - A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.\n- [gustavoguichard/string-ts](https://github.com/gustavoguichard/string-ts) - Strongly typed string functions.\n- [codpro2005/ts-regexp](https://github.com/codpro2005/ts-regexp) - A strictly typed \u0026 minimal RegExp wrapper.\n\n\u003ca name=\"ai\"/\u003e\n\n### AI\n- [withastro/flue](https://github.com/withastro/flue) - The sandbox agent framework from Astro.\n- [vercel/eve](https://github.com/vercel/eve) - The framework for building agents.\n- [Mastra](https://github.com/mastra-ai/mastra) - Mastra is an opinionated TypeScript framework that helps you build AI applications and features quickly.\n\n\u003ca name=\"others\"/\u003e\n\n### Others\n- [colinhacks/zod](https://github.com/colinhacks/zod) - TypeScript-first schema validation with static type inference.\n- [samchon/typia](https://github.com/samchon/typia) - Super-fast/easy Runtime validator.\n- [fabian-hiller/valibot](https://github.com/fabian-hiller/valibot) - The modular and type safe schema library for validating structural data.\n- [sindresorhus/type-fest](https://github.com/sindresorhus/type-fest) - A collection of essential TypeScript types.\n- [SeasonedSoftware/domain-functions](https://github.com/SeasonedSoftware/domain-functions) - Decouple your business logic from your framework with first-class type inference from end to end.\n- [KATT/envsafe](https://github.com/KATT/envsafe) - Makes sure you don't accidentally deploy apps with missing or invalid environment variables.\n- [dmno-dev/varlock](https://github.com/dmno-dev/varlock) - AI-safe .env files with schema-driven validation, secret handling, and leak scanning.\n- [supermacro/neverthrow](https://github.com/supermacro/neverthrow) - Type-Safe Errors for JavaScript \u0026 TypeScript.\n- [venables/typed-route-handler](https://github.com/venables/typed-route-handler) - Type-safe API Route Handlers for Next.js.\n- [true-myth/true-myth](https://github.com/true-myth/true-myth) - A library for safer and smarter error- and \"nothing\"-handling in TypeScript.\n- [ecyrbe/zodios](https://github.com/ecyrbe/zodios) - A complete typesafe wrapper around Zod for a boilerplate-free, typesafe, and DRY experience.\n- [g-plane/typed-query-selector](https://github.com/g-plane/typed-query-selector) - Better typed `querySelector` and `querySelectorAll`.\n- [tatethurston/nextjs-routes](https://github.com/tatethurston/nextjs-routes) - Type safe routing for Next.js.\n- [richardsolomou/next-safe-route](https://github.com/richardsolomou/next-safe-route) - Type-safe and validated Route Handlers for Next.js\n- [jetpack-io/typeid-js](https://github.com/jetpack-io/typeid-js) - TypeScript implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs.\n- [edmundhung/conform](https://github.com/edmundhung/conform) - A type-safe form validation library utilizing web fundamentals to progressively enhance HTML Forms with full support for server frameworks like Remix and Next.js.\n- [nicojs/typed-inject](https://github.com/nicojs/typed-inject) - Type safe dependency injection for TypeScript.\n- [arcanis/clipanion](https://github.com/arcanis/clipanion) - Type-safe CLI library / framework with no runtime dependencies.\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://productsway.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/870029?v=4?s=100\" width=\"100px;\" alt=\"Dung Duc Huynh (Kaka)\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDung Duc Huynh (Kaka)\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=jellydn\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/larsw\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/63235?v=4?s=100\" width=\"100px;\" alt=\"larsw\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003elarsw\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=larsw\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://leonov.net\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/57961?v=4?s=100\" width=\"100px;\" alt=\"Peter Leonov\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePeter Leonov\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=peter-leonov\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://unnoq.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/64189902?v=4?s=100\" width=\"100px;\" alt=\"unnoq\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eunnoq\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=unnoq\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://www.zinyando.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/806774?v=4?s=100\" width=\"100px;\" alt=\"Lennex Zinyando\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eLennex Zinyando\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=zinyando\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://ivan.codes\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/14149737?v=4?s=100\" width=\"100px;\" alt=\"Ivan Cernja\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eIvan Cernja\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/jellydn/awesome-typesafe/commits?author=ivancernja\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/jellydn%2Fawesome-typesafe/projects"}