Sass validation library.
- Ruby Sass <=
v3.2
- LibSass <=
v3.1
Git:
git clone git@github.com:iamskok/sassy-validation.git ./
Bower:
bower install sassy-validation --save-dev
validate(1em, measure) // returns true
validate(13, measure) // returns false
validate(77, number) // returns true
validate('77', number) // returns false
validate('sassy-validation', string) // returns true
validate(1.618, float) // returns true
validate(1 2 3 4 5, list) // returns true
validate(-99999, negative) // returns true
validate(px, unit) // returns true
- Hugo Giraudel for code quality improvements
- Marc Mintel for his original idea