juusaw/ts-to-io

Transform TypeScript types to io-ts runtime validator codecs

41
/ 100
Emerging

This tool helps TypeScript developers ensure that data received from external sources, like APIs or user input, strictly matches the types defined in their code. It takes your existing TypeScript type and interface definitions and generates corresponding io-ts runtime validators. The primary user is a TypeScript developer working on applications where data integrity and type safety are critical.

104 stars. No commits in the last 6 months. Available on npm.

Use this if you are a TypeScript developer who needs to validate incoming data at runtime against your statically defined types to prevent errors and improve application reliability.

Not ideal if you are not using TypeScript or io-ts, or if you primarily need to generate TypeScript types from JSON schemas.

TypeScript-development data-validation API-integration type-safety frontend-development
No License Stale 6m
Maintenance 0 / 25
Adoption 9 / 25
Maturity 17 / 25
Community 15 / 25

How are scores calculated?

Stars

104

Forks

14

Language

TypeScript

License

Last pushed

Jan 06, 2023

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.