InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 TypeScript Schema Projects
-
crystal
🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more! (by graphile)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
graphql-code-generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
Project mention: Best headless CMS for Next.js - Typescript support comparison | dev.to | 2025-01-22But since the dotansimha/graphql-code-generator library is hugely popular, this approach is likely to be successful.
-
-
Take GraphQL as an example—REST APIs have a similar challenge, often using something like OpenAPI as the "schema." If you want your code to be the source of truth, you can use something like TypeGraphQL, which generates the GraphQL schema based on decorators in your classes. On the other hand, you can use the reference GraphQL server implementation (graphql-js) with raw Schema Definition Files as your contract—then generate TypeScript types using something like GraphQL Codegen.
-
There’s a common myth that eval/new Function is always slow or unsafe. In reality, when used carefully, it can unlock incredible performance. Sury leans heavily on JIT compilation and is still almost on par with Valibot, which is designed for quick initialization.
-
Support Yup, Zod, AJV, Superstruct, Joi and others
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
graphql-zeus
GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
Project mention: Show HN: GraphQL Zeus 7 – type-safe GraphQL on front end for newbies | news.ycombinator.com | 2024-11-02 -
-
-
version: v2 # migration from v1 guide: https://github.com/connectrpc/connect-es/blob/main/MIGRATING.md inputs: - directory: ../proto clean: true plugins: - local: protoc-gen-es # This plugin is called by buf, used to compile proto files into TS code opt: target=ts # Indicates we want to generate TS code out: src/gen # Directory where generated code is stored include_imports: true
-
protobuf-es
Protocol Buffers for ECMAScript. The only JavaScript Protobuf library that is fully-compliant with Protobuf conformance tests.
However the last couple years show some promise. There is which is this very compliant, and runs in the browser; but probably if youre looking to implement protobufs you are focused on speed?
-
-
Project mention: Posta: Building a Social Blogging Backend with SurrealDB, Nix, and Nushell | dev.to | 2025-05-13
You can load posta.surql into the Surrealist app to explore and learn more about Posta.
-
-
-
json-joy
json-joy is a library that implements cutting-edge real-time and collaborative editing algorithms and utilities for JSON data models, with a focus on developing the JSON CRDT (Conflict-free Replicated Data Type) specification and implementation.
-
express-zod-api
A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
-
-
-
-
Project mention: Zod: TypeScript-first schema validation with static type inference | news.ycombinator.com | 2024-10-07
When there’s feature parity, what’s the next differentiator for you? For me, performance.
Though I admit another important aspect is community adoption. If your 3rd-party dependency uses zod internally, well now you’re bundling in both, and the added network latency probably negates any performance improvement you were getting. That’s why I wish libraries would use something more generic that allows you to dependency-inject what you’re already using, like https://github.com/decs/typeschema
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
TypeScript Schema discussion
TypeScript Schema related posts
-
Zod 4
-
Zod v4: 17x Slower? (and Why You Should Care) 🚦
-
Zod v4 Beta
-
ArkType: Ergonomic TS validator 100x faster than Zod
-
JavaScript schema library from the Future 🧬
-
VineJS vs. Zod for schema validation
-
When semantic versioning is a sham
-
A note from our sponsor - InfluxDB
www.influxdata.com | 25 Jun 2025
Index
What are some of the best open-source Schema projects in TypeScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | crystal | 12,745 |
2 | graphql-code-generator | 11,083 |
3 | effect | 9,436 |
4 | TypeGraphQL | 8,086 |
5 | valibot | 7,697 |
6 | Superstruct | 7,123 |
7 | standard-schema | 2,599 |
8 | graphql-cli | 2,014 |
9 | graphql-zeus | 1,965 |
10 | graphql-scalars | 1,915 |
11 | json-schema-to-ts | 1,588 |
12 | connect-es | 1,532 |
13 | protobuf-es | 1,337 |
14 | zod-to-openapi | 1,256 |
15 | surrealist | 1,179 |
16 | schemats | 1,045 |
17 | prisma-editor | 961 |
18 | json-joy | 878 |
19 | express-zod-api | 736 |
20 | countries | 489 |
21 | native | 483 |
22 | papr | 479 |
23 | typeschema | 446 |