validatorjs is a data validation library in JavaScript for the browser and Node.js. The library exposes the Validator constructor function. It was inspired by the Validator class in the Laravel PHP framework.