{"library":"joi-to-typescript","type":"library","category":null,"description":"joi-to-typescript is a utility library designed to automatically generate TypeScript interfaces from Joi validation schemas. Its primary purpose is to eliminate the redundancy of manually defining both Joi schemas for runtime validation and TypeScript interfaces for compile-time type checking, adhering to the DRY (Don't Repeat Yourself) principle. The current stable version is 4.15.0, with frequent minor and patch releases addressing dependency updates and feature enhancements. It is built to work seamlessly with Joi v17.x and is particularly useful in ecosystems like Hapi.js, offering integrations with tools like `joi-to-swagger` and `hapi-swagger` by leveraging Joi's `.meta()` functionality for interface naming and structure.","language":"javascript","status":"active","version":"4.15.0","tags":["javascript","joi","ts","typescript","hapi","interface"],"last_verified":"Wed May 27","install":[{"cmd":"npm install joi-to-typescript","imports":["import { convert } from 'joi-to-typescript';","import Joi from 'joi';","import { ITypeInfo } from 'joi-to-typescript';"]},{"cmd":"yarn add joi-to-typescript","imports":[]},{"cmd":"pnpm add joi-to-typescript","imports":[]}],"homepage":null,"github":"https://github.com/mrjono1/joi-to-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/joi-to-typescript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/joi-to-typescript/compatibility"}}