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
Rendering and deploy
- Install with
- deno5
Releases
Adoption
Sources
- 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/runtypes/runtypes - 2026-11-16: Maintainer, License model
raw.githubusercontent.com/runtypes/runtypes/master/LICENSE - 2026-11-16: First release
registry.npmjs.org/runtypes - 2026-11-16: Categories
raw.githubusercontent.com/runtypes/runtypes/master/README.md - 2026-11-16: Runtime, Install with
jsr.io/@runtypes/runtypes - 2026-11-16: Current major version
api.github.com/repos/runtypes/runtypes/releases - 2026-11-16: Last release
api.github.com/repos/runtypes/runtypes/releases/latest - 2026-11-16: Contributors
api.github.com/repos/runtypes/runtypes/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/runtypes - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/runtypes