Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasl/validator.js
a research project that target to design a flexible validate lib can use in both browser and nodejs
https://github.com/jasl/validator.js
Last synced: 24 days ago
JSON representation
a research project that target to design a flexible validate lib can use in both browser and nodejs
- Host: GitHub
- URL: https://github.com/jasl/validator.js
- Owner: jasl
- Created: 2012-07-12T16:42:08.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-13T18:07:19.000Z (over 12 years ago)
- Last Synced: 2024-12-24T00:14:50.007Z (about 1 month ago)
- Language: JavaScript
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
#validator.js
A researching library to validate values, will support both browser-side and node.js.
Idea
-----
Inspired by Rails active model's validator, Validator.js supply many kind of rules,
such as presence, size, regex, etc... and the value will be validated by given pattern.Design
-----
Validator core is pure, just supply manage rule and check value by given pattern.To adapt to browser and nodejs, Validator.js has a wrapper to enhence the core,
and supply some helpful methods.License
-----
*Copyright jasl, MIT licence.*