juusaw/ts-to-io

Transform TypeScript types to io-ts runtime validator codecs

49
/ 100
Emerging

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.

104 stars and 4,373 monthly downloads. No commits in the last 6 months. Available on npm.

No License Stale 6m
Maintenance 0 / 25
Adoption 17 / 25
Maturity 17 / 25
Community 15 / 25

How are scores calculated?

Stars

104

Forks

14

Language

TypeScript

License

Last pushed

Jan 06, 2023

Monthly downloads

4,373

Commits (30d)

0

Dependencies

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/juusaw/ts-to-io"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.