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.5K stars), yup (23.7K stars) and crystal (20.5K stars). GitHub.Locker tracks 6 Type-inference repositories with 112.1K stars combined. The fastest-growing on December 1 was zod, with +26 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
zod
colinhacks/zod · ★ 44.5KZod is a schema validation library: you describe what your data should look like, and it checks real values against that description at runtime.
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.
psalm
vimeo/psalm · ★ 5.9KPsalm is a static analysis tool that scans PHP code to find errors and security vulnerabilities without running the application.
+2ts-pattern
gvergnaud/ts-pattern · ★ 15.2KTS-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.
The all-time top
6 projects · by stars
- 44.5K
#1 · colinhacks/zod
zod
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
psalm
5.9Kvimeo/psalm · PHPPsalm is a static analysis tool that scans PHP code to find errors and security vulnerabilities without running the application.
- 6

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
- developer-tools2,874
- mit3,168
- open-source5,458
- cli2,314
- developers357
- javascript1,556
- library1,339
- linux4,252
- typescript1,885
- web2,263
- c318
- command-line-tool738
- compiler167
- cross-platform2,650
- hacktoberfest430
- macos3,655
- nodejs1,388
- npm861
- performance644
- programming-language78
- ruby88
- static-analysis133
- tool1,366
- validation38