Declarative validations for JavaScript

Usage no npm install needed!

<script type="module">
  import validateJsKsi from '';



Validate.js provides a declarative way of validating javascript objects.

For documentation please see

For issues and feature requests visit the issue tracker.

Building validate.js


Build steps

  1. git clone
  2. cd validate.js
  3. npm install
  4. grunt build

This will build validate.min.js, and the docs folder.

Continuous testing

You can run continuous testing that runs the tests on file changes by running grunt watch or simply grunt.

If you want to just run the tests once you can do that by running grunt test.

Build status

Build Status Coverage Status


Before opening a pull request please make sure your changes follow the contribution guidelines.

Users of validate.js

If your site, library or application uses validate.js and would like to be shown here please feel free to email with the name and optionally a URL to the project and it will be added here.