rest2ts
JSON →A CLI tool and library that generates modern TypeScript types and strongly-typed HTTP clients from REST API schemas (Swagger/OpenAPI 2.x/3.x). v6.3.5 is current stable; releases weekly. Key differentiators: supports both Swagger and OpenAPI spec versions, produces zero-dependency TypeScript output with full type safety, configurable client generation for fetch/axios/ky, and includes a watch mode for incremental codegen. Alternatives (e.g., openapi-generator) often produce larger output files with more boilerplate or require heavier runtimes.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 1 distinct systems
last hit 21d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · VE
Resources
packagerest2ts ↗