class-validator - Validation made easy using TypeScript decorators.

  •        31

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.

https://github.com/typestack/class-validator

Dependencies:

google-libphonenumber : ^3.1.6
validator : 10.4.0

Tags
Implementation
License
Platform

   




Related Projects

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

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.

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.

Validator Toolkit for ASP.NET MVC

  •    ASPNET

The Validator Toolkit provides a set of validators for the ASP.NET MVC framework to validate HTML forms on the client and server-side using validation sets. By defining a validation set, e.g. a LoginValidationSet class, the toolkit will generate code.

vue-validator - :white_check_mark: Validator component for Vue.js

  •    Javascript

I recommend that you use other validation libraries. Thank you for everything you have done for vue-validator. vue-validator have retiring from vue.js official plugins. in the future, vue-validator is continuing as personal project.


Validator - Drop in user input validation for your iOS apps.

  •    Swift

Validator is a user input validation library written in Swift. It's comprehensive, designed for extension, and leaves the UI up to you.

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.

angular-validation - Client Side Validation for AngularJS 1

  •    Javascript

Client-side Validation should be simple and clean. Don't let Client-side Validation dirty your controller. Setup your Validation on config phase by using some rules (example) If you prefer schema over html attributes , try angular-validation-schema (Demo) And add Validation in your view only.

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.

knockout-validator

  •    

knockout-validator is an extensible model validation system for knockout framework, that besides normal validations it handles well nested validations and array validations. Validation is performed on the view model. The UI can selectively register to display validation result...

Apache Commons Validator - Validation Framework and Routines

  •    Java

Commons Validator provides the building blocks for both client side validation and server side data validation. It may be used standalone or with a framework like Struts.

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.

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.

card-validator - Validate credit cards as users type.

  •    Javascript

Credit Card Validator provides validation utilities for credit card data inputs. It is designed as a CommonJS module for use in Node.js, io.js, or the browser. It includes first class support for 'potential' validity so you can use it to present appropriate UI to your user as they type. A typical use case in a credit card form is to notify the user if the data they are entering is invalid. In a credit card field, entering “411” is not necessarily valid for submission, but it is still potentially valid. Conversely, if a user enters “41x” that value can no longer pass strict validation and you can provide a response immediately.

hibernate-validator - Hibernate Validator - Bean Validation 1.1 (JSR 349) Reference Implementation

  •    Java

Hibernate Validator - Bean Validation 1.1 (JSR 349) Reference Implementation

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.

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.

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.

TNValidate - A Fluent Validation Library for .NET

  •    

TNValidate is a fluent validation library for .Net. It enables you to write validation logic in a way that somewhat resembles natural language. TNValidate comes with built in rules for different types of data, can generate errors in a couple of languages, and is extensible.

smtp-validate-email - A PHP class for performing email addresses validation via SMTP

  •    PHP

Perform email address validation/verification via SMTP. The SMTPValidateEmail\Validator class retrieves MX records for the email domain and then connects to the domain's SMTP server to try figuring out if the address really exists.