runtypes VS io-ts

Compare runtypes vs io-ts and see what are their differences.

runtypes

Runtime validation for static types (by runtypes)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
runtypes io-ts
22 80
2,545 6,593
0.9% -
5.6 4.9
2 months ago 5 months ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

runtypes

Posts with mentions or reviews of runtypes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-14.

io-ts

Posts with mentions or reviews of io-ts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.

What are some alternatives?

When comparing runtypes and io-ts you can also consider the following projects:

zod - TypeScript-first schema validation with static type inference

typescript-is

class-validator - Decorator-based property validation for classes.

type-fest - A collection of essential TypeScript types

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

typegraphql-prisma - Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema

fp-ts - Functional programming in TypeScript

ts-auto-guard - Generate type guard functions from TypeScript interfaces

joi - The most powerful data validation library for JS [Moved to: https://github.com/hapijs/joi]

nest-clean-architecture - 🏛️ Nest.js clean architecture example following some DDD principles with use-cases written in functionnal programming.

newtype-ts - Implementation of newtypes in TypeScript