gcanti/io-ts-codegen
Code generation for io-ts
This tool helps TypeScript developers automatically create both runtime and static type definitions from existing data schemas like JSON Schema or Swagger. You provide the schema, and it generates the TypeScript code for validating data at runtime and defining types for compile-time checks. This is ideal for developers building robust data-driven applications.
166 stars. No commits in the last 6 months. Available on npm.
Use this if you are a TypeScript developer who needs to consistently generate type definitions and runtime validation code from various schema definitions, ensuring data integrity and type safety.
Not ideal if you are not a developer or if you only need static TypeScript types without corresponding runtime validation, as simpler tools might suffice.
Stars
166
Forks
14
Language
TypeScript
License
MIT
Category
Last pushed
Feb 24, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/gcanti/io-ts-codegen"
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.