CodeBrowser / npm / yup
yup@1.7.1
// Dead simple Object schema validation
$ npm install yup
downloads/wk
11,631,450
license
MIT
version
1.7.1
published
Sep 21, 2025
What is yup?
Yup is a JavaScript schema validation library that lets you define the structure and rules for your data objects, then validate them against those rules. It's useful when you need to ensure data conforms to expected types and constraints—like validating form inputs, API responses, or configuration files before processing them. Yup integrates well with form libraries and provides clear error messages when validation fails.
Maintainers
monastic.panic