https://github.com/moagrius/validator
https://github.com/moagrius/validator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/moagrius/validator
- Owner: moagrius
- Created: 2012-09-16T03:27:27.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-16T03:28:37.000Z (almost 14 years ago)
- Last Synced: 2025-03-24T07:17:53.594Z (over 1 year ago)
- Language: JavaScript
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.