io-ts-codegen and ts-to-io

These are competitors offering overlapping solutions: both generate io-ts codecs from TypeScript type definitions, with io-ts-codegen being the more mature and widely-adopted option for the same use case.

io-ts-codegen
57
Established
ts-to-io
49
Emerging
Maintenance 0/25
Adoption 20/25
Maturity 25/25
Community 12/25
Maintenance 0/25
Adoption 17/25
Maturity 17/25
Community 15/25
Stars: 166
Forks: 14
Downloads: 91,141
Commits (30d): 0
Language: TypeScript
License: MIT
Stars: 104
Forks: 14
Downloads: 4,373
Commits (30d): 0
Language: TypeScript
License:
Stale 6m No Dependents
No License Stale 6m

About io-ts-codegen

gcanti/io-ts-codegen

Code generation for io-ts

Generates both runtime io-ts codecs and static TypeScript types from an intermediate schema language, enabling multi-source code generation from JSON Schema, Swagger, and other formats. Uses a builder API to construct type declarations with automatic dependency ordering via topological sort. Outputs ready-to-use io-ts validators alongside corresponding TypeScript interfaces and type aliases.

About ts-to-io

juusaw/ts-to-io

Transform TypeScript types to io-ts runtime validator codecs

Leverages TypeScript's compiler API to parse type definitions and generate corresponding io-ts codecs, supporting unions, intersections, tuples, and partial types while optionally following import statements to generate validators across multiple files. Available as both a CLI tool and programmatic API, with configuration options to control output formatting and import resolution. The generated validators are meant for build-time use, enabling type-safe runtime validation without manual codec definitions.

Scores updated daily from GitHub, PyPI, and npm data. How scores work