flow-validator - object validation with flow types and more

  •        3

Object validation with proper flow types and more.

https://github.com/freddi301/flow-validator#readme
https://github.com/freddi301/flow-validator

Tags
Implementation
License
Platform

   




Related Projects

superstruct - A simple and composable way to validate data in Javascript.

  •    Javascript

A simple and composable way to validate data in JavaScript. Superstruct makes it easy to define interfaces and then validate JavaScript data against them. Its type annotation API was inspired by Typescript, Flow, Go, and GraphQL, giving it a familiar and easy to understand API.

JSV - A JavaScript implementation of an extendable, fully compliant JSON Schema validator.

  •    Javascript

A JSON validator is a program that takes JSON data and, with a provided schema, will ensure that the provided JSON is structured in the way defined by the schema. This ensures that if validation has passed, the JSON instance is guaranteed to be in the expected format. It will also provide an explanation on why a particular instance failed validation. There is no one way to validate JSON, just like there is no one way to validate XML. Even the JSON Schema specification has gone through several revisions which are not 100% backwards compatible with each other. To solve the issue of using numerous schemas already written to older specifications, JSV provides customizable environments to validate your JSON within.

validatorjs - A data validation library in JavaScript for the browser and Node

  •    Javascript

The validatorjs library makes data validation in JavaScript very easy in both the browser and Node.js. This library was inspired by the Laravel framework's Validator. To apply validation rules to the data object, use the same object key names for the rules object.

z-schema - JSON Schema validator written in JavaScript for NodeJS and Browsers

  •    Javascript

Validator will try to perform sync validation when possible for speed, but supports async callbacks when they are necessary. In case you have some remote references in your schemas, you have to download those schemas before using validator. Otherwise you'll get UNRESOLVABLE_REFERENCE error when trying to compile a schema.

schema-inspector - Schema-Inspector is an JSON API sanitisation and validation module.

  •    Javascript

Schema-Inspector is a powerful tool to sanitize and validate JS objects. It's designed to work both client-side and server-side and to be scalable with allowing asynchronous and synchronous calls.(Or download async.js and schema-inspector.js manually).


yup - Dead simple Object schema validation

  •    Javascript

Yup is a JavaScript object schema validator and object parser. The API and style is stolen heavily inspired by Joi, which is an amazing library but is generally too large and difficult to package for use in a browser. Yup is a leaner in the same spirit without some of the fancy features. You can use it on the server as well, but in that case you might as well just use Joi. Yup is also a good bit less opinionated than joi, allowing for custom transformations and async validation. It also allows "stacking" conditions via when for properties that depend on more than one other sibling or child property. Yup separates the parsing and validating functions into separate steps so it can be used to parse json separate from validating it, via the cast method.

skema - 🛰 Skema provides a handy & composable way to validate / transform / purify the input data.

  •    Javascript

Supports both async and sync flows. Skema has two working modes to support either async or sync validators, setters, etc, making it capable with much more complicated challenges. NOT only type checker. Unlike TypeScript, joi, and many others, Skema is not only a JavaScript type checker, but also a good solution for your Anti-Corruption Layer (ACL) to transform and purify the input data. And Skema could also be configured as a simple schema validator too.

ajv - The fastest JSON Schema Validator. Supports draft-04/06/07

  •    Javascript

The fastest JSON Schema validator for Node.js and browser. Supports draft-04/06/07.JSON Schema draft-07 is published.

class-validator - Validation made easy using TypeScript decorators.

  •    TypeScript

Allows use of decorator and non-decorator based validation. Internally uses validator.js to perform validation. Class-validator works on both browser and node.js platforms. Note: Please use at least npm@6 when using class-validator as from npm@6 the dependency tree is flatterned what is good for us.

mongoose-unique-validator - mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema

  •    Javascript

mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema. This makes error handling much easier, since you will get a Mongoose validation error when you attempt to violate a unique constraint, rather than an E11000 error from MongoDB.

mongoose-validator - Validators for mongoose models utilising validator.js

  •    Javascript

Validators for Mongoose schemas utilising validator.js. Mongoose Validator simply returns Mongoose style validation objects that utilises validator.js for the data validation.

async-validator - validate form asynchronous

  •    Javascript

The following is modified from earlier version of async-validate. first: Boolean, Invoke callback when the first validation rule generates an error, no more validation rules are processed. If your validation involves multiple asynchronous calls (for example, database queries) and you only need the first error use this option.

jQuery-Form-Validator - jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code

  •    Javascript

jQuery Form Validator is a feature rich and multilingual jQuery plugin that makes it easy to validate user input while keeping your HTML markup clean from javascript code. Even though this plugin has a wide range of validation functions it's designed to require as little network traffic as possible. This is achieved by grouping together validation functions in "modules", making it possible to load only those functions that's needed to validate a particular form.

joi - Object schema validation

  •    Javascript

Object schema description language and validator for JavaScript objects.This is joi, joi allows you to create blueprints or schemas for JavaScript objects (an object that stores information) to ensure validation of key information.

class-validator - Validation made easy using TypeScript decorators.

  •    TypeScript

Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser

revalidator - A cross-browser / node.js validator powered by JSON Schema

  •    Javascript

A cross-browser / node.js validator with JSONSchema compatibility as the primary goal. This will return with a value indicating if the obj conforms to the schema. If it does not, a descriptive object will be returned containing the errors encountered with validation.

govalidator - Validate Golang request data with simple rules

  •    Go

Validate golang request data with simple rules. Highly inspired by Laravel's request validation. Note: Array, map, slice can be validated by adding custom rules.

jsonschema - JSON Schema validation

  •    Javascript

JSON schema validator, which is designed to be fast and simple to use. The latest IETF published draft is v6, this library is mostly v4 compatible. Please fork the repository, make the changes in your fork and include tests. Once you're done making changes, send in a pull request.

Generic JavaScript validator

  •    Javascript

Generic JavaScript validator is a cross-browser HTML forms validation,which uses DOM to validate form elements. Add few extra attributes to your existing form's like require=yes|no, pattern=_date|_email|_zip|_digits|... Code generator is also avaliable.

express-validator - An express.js middleware for node-validator.

  •    Javascript

An express.js middleware for validator. Also please note that, starting with v5.0.0, no new features will be accepted into the legacy API. Only bug fixes will be made.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.