Topics / #type-inference
Type-inference projects on GitHub
Automatic deduction of static types by compilers and validators.
As of , the most-starred Type-inference projects on GitHub are zod (44.1K stars), yup (23.7K stars) and crystal (20.5K stars). GitHub.Locker tracks 5 Type-inference repositories with 105.7K stars combined. The fastest-growing on October 16 was zod, with +10 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
+10zod
colinhacks/zod · ★ 44.1KZod is a schema validation library: you describe what your data should look like, and it checks real values against that description at runtime.
+9spinel
matz/spinel · ★ 2.3KSpinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.
crystal
crystal-lang/crystal · ★ 20.5KCrystal is an open-source, general-purpose programming language whose syntax is inspired by Ruby; it has been developed in the open on GitHub since 2012.
+1yup
jquense/yup · ★ 23.7KYup is a schema builder for runtime value parsing and validation in JavaScript/TypeScript. You define a schema, then cast values into the right shape, assert that values match, or both — from simple fields to complex, interdependent data models.
The all-time top
5 projects · by stars
- 44.1K
#1 · colinhacks/zodzod
Zod is a schema validation library: you describe what your data should look like, and it checks real values against that description at runtime.
- 23.7K
#2 · jquense/yupyup
Yup is a schema builder for runtime value parsing and validation in JavaScript/TypeScript. You define a schema, then cast values into the right shape, assert that values match, or both — from simple fields to complex, interdependent data models.
- 20.5K
#3 · crystal-lang/crystal
crystal
Crystal is an open-source, general-purpose programming language whose syntax is inspired by Ruby; it has been developed in the open on GitHub since 2012.
- 4

ts-pattern
15.2Kgvergnaud/ts-pattern · TypeScriptTS-Pattern is an exhaustive pattern matching library for TypeScript, letting you express complex conditions as a single compact expression instead of nested if/else or switch statements, with the type checker narrowing types for you.
- 5

spinel
2.3Kmatz/spinel · CSpinel is a Ruby ahead-of-time compiler that turns Ruby source code into standalone native executables by inferring types across the whole program and generating optimized C code.
Related topics
Often tagged together