Validate.js provides a declarative way of validating javascript objects. It is unit tested with 100% code coverage and can be considered fit for production.
The best validation library for JavaScript. No dependency. Supports popular frameworks including Bootstrap, Zurb Foundation, Pure, Semantic, UIKit, Bulma, spectre, Shoelace