validatorjs is a data validation library in JavaScript for the browser and for Node.js as an NPM module. The library exposes the Validator constructor function. It was inspired by the Validator class in the Laravel 3 PHP MVC framework. Unit tests are written with the Jasmine framework.