Superstruct makes it easy to define interfaces and then validate JavaScript data against them. It's type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API.
Validate.js is a simple javascript library for data validation. Here are validation functions.
Validate.js provides a declarative way of validating javascript objects.
The goal of validate.js is to provide a cross framework and cross language way of validating data. The validation constraints can be declared in JSON and shared between clients and the server.
xtype.js is an elegant, highly efficient data validation for JavaScript.
Features