io-ts-promise VS io-ts

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


io-ts for developers who like Promises (by aeirola)


Runtime type system for IO decoding/encoding (by gcanti)
Our great sponsors
  • Klotho - AWS Cloud-aware infrastructure-from-code toolbox [NEW]
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • InfluxDB - Access the most powerful time series database as a service
  • Sonar - Write Clean JavaScript Code. Always.
io-ts-promise io-ts
1 79
74 6,278
- -
0.0 6.0
5 months ago about 1 month 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.


Posts with mentions or reviews of io-ts-promise. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-04.
  • Notes on Advanced TypeScript: Runtime Validations
    2 projects | | 4 May 2022
    There are more improvements we could make, but we should have a basic understanding of why it might be useful to validate any external data at runtime. io-ts offers more features handling recursive and optional types. Furthermore there are libraries like io-ts-promise that provide more features and useful helpers, the above decodePromise, for example, is available in a more advanced variant via io-ts-promise.


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-05-30.

What are some alternatives?

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

zod - TypeScript-first schema validation with static type inference

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

fp-ts - Functional programming in TypeScript

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

runtypes - Runtime validation for static types

joi - The most powerful data validation library for JS [Moved to:]

newtype-ts - Implementation of newtypes in TypeScript

Yup - Dead simple Object schema validation

ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

typebox - JSON Schema Type Builder with Static Type Resolution for TypeScript

class-transformer - Decorator-based transformation, serialization, and deserialization between objects and classes.

pydantic - Data validation using Python type hints