runtypes

Type validator

A runtime validation system for statically defined data types in TypeScript

Runtime validation for static types

GitHub

3k stars
13 watching
89 forks
Language: TypeScript
last commit: 3 months ago
Linked from 1 awesome list

runtimetypestypescriptvalidation

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
johngeorgewright/runtyping Tool for generating runtime validation from static types and JSON schema 45
typeetfunc/runtypes-generate Generates arbitrary data types for property-based testing 41
sindresorhus/type-fest A collection of reusable TypeScript types for common programming patterns and data structures 14,363
simenandre/generate-runtypes A code generator for Runtypes types to create boilerplate TypeScript definitions 17
sindresorhus/ow A validation library for JavaScript functions and variables. 3,811
neuledge/computed-types A strongly-typed validation library for TypeScript that allows developers to create accurate interfaces and transform data at compile-time. 364
typestack/class-transformer Tool for converting between plain objects and class instances, allowing serialization and deserialization of data. 6,894
gajus/flow-runtime Provides a runtime type system for JavaScript that enables full Flow compatibility and supports API input validation 802
fabian-hiller/valibot A schema library for validating and transforming structured data at runtime without dependencies or external libraries. 6,262
sinclairzx81/typebox A type builder for JSON schema objects that can be statically checked and runtime asserted using TypeScript 5,039
glideapps/quicktype Generates strongly-typed models and serializers from JSON, GraphQL, and other data formats. 12,452
ianstormtaylor/superstruct A library for defining and validating data structures in JavaScript and TypeScript. 7,024
ts-essentials/ts-essentials A collection of reusable, high-quality TypeScript types for writing more expressive and type-safe code. 3,770
thoughtspile/banditypes A lightweight validation library that checks data conforms to TypeScript types at runtime. 168
definitelytyped/definitelytyped Provides high-quality type definitions for the TypeScript programming language. 48,621