An open API service indexing awesome lists of open source software.

https://github.com/moagrius/validator


https://github.com/moagrius/validator

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

Validator.js

Simple Validation Class for JavaScript.

This is really just a collection of common validation functions stuck on an object literal - calling it a class, while accurate, sounds a little more breathy than is deserved.

This is far from complete, and contains mostly string tests (for user input). There's been very little debug and no documentation - if anyone has anything to add (or modify), please feel free to fork and I'll pull anything that looks handy. These functions are very common but I've yet to find a comprehensive collection.