Skip to content

itihon/isomorphic-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isomorphic-validation

An isomorphic form validation javascript library which runs the same code both client and server side and allows for reusing validation logic for the same fields on different forms.


🕙 Developing ...

isomorphic validation


Documentation

isomorphic validation logo isomorphic-validation-docs


API overview:

Core module "isomorphic-validation"

The core module of the library exports two entities: Validation and Predicate.

Instance methods:

Instance properties:

Static methods:


Validation object

A Validation object can be created several ways:

Nested (grouped) Validation objects are accessed through:


Predicate object

A Predicate object can be created:

  • by the constructor function.
  • cloned from another Predicate object when passed into the constructor function.

Predicate objects added to validations can be accessed:


UI module "isomorphic-validation/ui"

The UI module exports the following set of helper, renderer and effect functions for performing UI side effects:

Helper functions

Renderer functions

Effect functions

About

Javascript validation library. Allows writing the same validation logic for the client and server side.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages