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.

5Projects
105.7KStars in total
+22Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

5 projects · by stars

  1. #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.

    44.1K
  2. #2 · jquense/yup

    yup

    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.

    23.7K
  3. #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.

    20.5K
  1. 4

    ts-pattern

    15.2Kgvergnaud/ts-pattern · TypeScript

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

  2. 5

    spinel

    2.3Kmatz/spinel · C

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

Often tagged together