juusaw/ts-to-io
Transform TypeScript types to io-ts runtime validator codecs
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.
Stars
104
Forks
14
Language
TypeScript
License
—
Category
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.
Higher-rated alternatives
retejs/rete-studio
A general-purpose code generation tool powered by Rete.js
chrishoermann/zod-prisma-types
Generator creates zod types for your prisma models with advanced validation
microsoft/ts-gyb
Generating native code interfaces from TypeScript
evoluteur/evolutility-ui-jquery
Model-driven Web UI for CRUD using REST or localStorage.
unjs/knitwork
🧶 Utilities to generate safe JavaScript code.