Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.

customcommander/ns5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NS5

var validation_robot = new NS5({
        version: function (value) {
            return value === 5;
        }
    });

if ( !validation_robot.test({ version: 9 }) ) {
    alert('error: version should be 5');
}

Yet Another Object Validation Library?

Yes indeed.

Because so far the libraries I've seen look like they have been written by Java developers on a really bad AbstractControllerParadigmFactory acid trip.

I don't send rockets over to Mars therefore I believe I deserve some simplicity.

NS5 is an attempt at making a library that is easy to use and yet fit for most common use cases.

About

Object validation made simple

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages