From a3dd143468244464193b95320b35895f20fa46d7 Mon Sep 17 00:00:00 2001 From: Etiene Date: Wed, 12 Mar 2014 16:21:35 -0300 Subject: Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c7d2109..f5c8873 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,12 @@ A module for making chained validations. Create your objects, append your tests, Originally bundled with Sailor MVC Web Framework, now released as a separated module. https://github.com/Etiene/sailor -This module provides tools for validating values, very useful in forms, but also usable elsewhere. It works in appended chains. Create a new validation object and start chaining your test functions. If your value fails a test, it breaks the chain and does not evaluate the rest of it. It returns a boolean and an error string (nil when tests succeeded) +This module provides tools for validating values, very useful in forms, but also usable elsewhere. It works in appended chains. Create a new validation object and start chaining your test functions. If your value fails a test, it breaks the chain and does not evaluate the rest of it. It returns a boolean and an error string (nil when tests succeeded). + +Valua is also available through luarocks +```` +luarocks install valua +```` ####Usage Example 1 - Just create, chain and use: @@ -64,4 +69,6 @@ Copyright (c) 2014 Etiene Dalcol http://etiene.net +http://twitter.com/MulherCerebro + License: MIT -- cgit v1.2.3-70-g09d2