{"library":"yup","type":"library","category":null,"description":"Yup is a schema builder for runtime value parsing and validation, now at v1.7.1 with active development. It provides a concise, chainable API for defining schemas that can parse, coerce, and validate complex nested objects, with built-in async support and rich error details. Key differentiators include powerful TypeScript inference via InferType, seamless integration with Standard Schema, and extensibility through custom methods. It remains a top choice for form validation in React ecosystems (Formik) and general data validation, competing with Zod (more lightweight) and Joi (Node-only).","language":"javascript","status":"active","version":"1.7.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install yup","imports":["import { object } from 'yup'","import { string } from 'yup'","import { InferType } from 'yup'","import { ValidationError } from 'yup'"]},{"cmd":"yarn add yup","imports":[]},{"cmd":"pnpm add yup","imports":[]}],"homepage":"https://github.com/jquense/yup","github":"https://github.com/jquense/yup","docs":null,"changelog":null,"pypi":null,"npm":"yup","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}