my-koop/module.utils — pull request #13 by Cellule (2014-11-08 02:52:21+00:00)
Title: Possibility to add custom validator.

usage:

```ts
var validate = require("mykoop-utils/common/index").validation;
validate.addValidator("passwordsMatch", function (value, options, key, attributes){
if(value !== attributes.newPassword){
return "New passwords must match";
} else {
return null;
}
}
```