Yup

yup Dead simple Object schema validation 8 % SMALLER 12.13 kB MIN + GZIP, на сайте с April 03, 2023 01:07
Yup is a schema builder for runtime value parsing and validation. Define a schema, transform a value to match, assert the shape of an existing value, or both. Yup schema are extremely expressive and allow modeling complex, interdependent validations, or value transformation.