FindSoftware

Runtypes

TypeScript library that checks untyped values against runtime type definitions and infers static types from the same definitions.

Runtypes is a TypeScript library that checks values of unknown shape against type definitions built from composable validators for primitives, literals, arrays, tuples, objects and unions. The static types of checked values are inferred from the same definitions, so the types do not have to be written twice. A failed check throws a ValidationError that carries a structured failure.

Identity

Status
Active
Maintainer
Tom Crockett2
First release
20163

Rendering and deploy

Install with
deno5

Releases

Current major version
76
Last release
2026-08-147

Adoption

GitHub stars
2,7021
npm downloads a week
285,0939
Contributors
408
Dependent repositories
87810
Dependent packages
31610

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/runtypes/runtypes
  2. 2026-11-16: Maintainer, License model
    raw.githubusercontent.com/runtypes/runtypes/master/LICENSE
  3. 2026-11-16: First release
    registry.npmjs.org/runtypes
  4. 2026-11-16: Categories
    raw.githubusercontent.com/runtypes/runtypes/master/README.md
  5. 2026-11-16: Runtime, Install with
    jsr.io/@runtypes/runtypes
  6. 2026-11-16: Current major version
    api.github.com/repos/runtypes/runtypes/releases
  7. 2026-11-16: Last release
    api.github.com/repos/runtypes/runtypes/releases/latest
  8. 2026-11-16: Contributors
    api.github.com/repos/runtypes/runtypes/contributors?per_page=1
  9. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/runtypes
  10. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/runtypes

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON