Skip to content

pori/equus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

equus

Chainable validation.

Install

$ npm install equus

Examples

import equus from 'equus';

const validator = equus();

validator.onPass(value => {});
validator.onFail(value => {});

validator
      .equal(1, 1)
      .greaterThan(3, 1)
      // Run a bunch of other checks... 

License

MIT