joi2types

JSON →
library 1.1.1 ·javascript maintenance
verified Jun 7, 2026

Converts @hapi/joi schemas into TypeScript types. Current version 1.1.1, stable with weekly updates. Outputs TypeScript interfaces/types from Joi schema definitions, supporting banner comments, custom interface names, and unknown property handling. Differentiator: eliminates manual translation of Joi validation schemas to TypeScript types, reducing duplication and errors. Requires @hapi/joi 16.x as a peer dependency. Not maintained actively (last update 2019).