See code on Github
Dator - A form validator library