Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

ansman/validate.js

Repository files navigation

validate.js

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

For documentation please see validatejs.org/.

For issues and feature requests visit the issue tracker.

Archive Notice

As I do not work as a web developer professionally any longer I do not have the bandwidth to maintain this. This project will continue to live as is but no new features will be added and no bugs will be fixed. There are likely better and more modern alternatives around.

Building validate.js

Requirements

Build steps

  1. git clone git@github.com:ansman/validate.js.git
  2. cd validate.js
  3. npm install
  4. grunt build

This will build validate.min.js, validate.min.map 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

Contributing

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 info@validatejs.org with the name and optionally a URL to the project and it will be added here.