Overview
What is RebbVal
Is RebbVal a validation library? Nope, RebbVal is a external DSL for validation. It makes writing validation rules easier and more natural. Since it is more human readable than most of existing validation libraries, it means less bugs.
A domain-specific language (DSL) is a computer language specialized to a particular application domain.
Language Support
Currently supported language:
Java
JavaScript
Future languages support:
PHP
C#
Python3
C++
Highlights
Human readable rules like
"not empty"or">=15"The ability to combine rules as you wish.
">=18 and <=60""<18 or > 60""<18 or >60 and not(in [20,30,40,50])"
Custom your own rules in two ways
Regexs:
"match /\d+/"Custom validators
More than 40 validation rules and keep growing
Last updated