aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
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