elx_validation

Library for Validation data.


Keywords
validation, data-validation, validator, elixir-validation, elx-validation, validator-tool
License
Other

Documentation

elx_validation

Build Status

Simple and easy library to Validate data

⚠️ Library under develop

Usage


data = %{
    name: "Majid ahd",
    email: "example@email.com"
}

rules = [
%{
    field: "name",
    as: "first name",
    validate: ["required", "min:4", "max:10"]
},
%{
    field: "email",
    validate: ["required", "email"]
}]

Documentation

Wiki


Author


Majid Ahmaditabar

ElxValidation is released under the MIT License.