ValigatorJS is a simple JavaScript library that can run validation rules. The library is small and concentrates purely on data validation and does not include html element validations. This allows the developers full freedom in separating out the view and model concerns.
The library expects lodash (https://github.com/lodash/lodash) to be loaded and available.
Coming soon.
Most of the JavaScript validation libraries work mostly with HTML elements and ties to events raised by the elements. As such, most of them are tied to jQuery or need some kind of DOM manipulation. These libraries also come with their set of CSS, HTML templating or is created specifically for libraries such as Bootstrap, Foundation or jQuery UI.
The goal of this simple library is to not get involved with CSS frameworks or tie you down to using a framework specific HTML styling or templating. This library exists purely to validate your JavaScript model and leaves the DOM manipulation, styling and other details to the user. I might include a few examples in the future on how to integrate it with some frameworks, just to give an idea.
- bower install
- download directly
- cdn may be.
Coming soon
Coming soon