Validations

Data validation libraries and input sanitization tools. Packages among the 3,000 most downloaded in the past 90 days.

50 packages
  • A tiny library for validating and documenting high-level options

    544
    2.5m last 90 days
  • A JSON Schema validator with full support for the draft 4 specification and zero dependencies.

    385
    377.9k last 90 days
  • ham 0.3.2

    Runtime Type checking

    10
    245.9k last 90 days
  • optimal 0.3.7

    A schema based `opt` validator

    50
    177.9k last 90 days
  • vex 0.9.2

    An extensible data validation library for Elixir

    602
    86.0k last 90 days
  • xema 0.17.5

    A schema validator inspired by JSON Schema.

    82
    83.1k last 90 days
  • Utilities to return Ecto validation error messages in an absinthe graphql response.

    116
    82.0k last 90 days
  • norm 0.13.1

    Norm is a system for specifying the structure of data. It can be used for validation and for generation of data. Norm does not provide any set of predicates and instead allows you to re-use any of your existing validations.

    698
    79.5k last 90 days
  • peri 0.6.2

    A Plug'n Play schema validator library, focused on raw data structures

    121
    60.6k last 90 days
  • valdi 0.6.0

    Simple data validation for Elixir

    26
    46.9k last 90 days
  • tarams 1.8.0

    Phoenix request params validation library

    119
    42.1k last 90 days
  • params 2.3.0

    Parameter structure validation and casting with Ecto.Schema.

    373
    37.3k last 90 days
  • Coleção de funções para validacão e formatação de CPF e CNPJ. Validation and format for brazilian id documents (CPF/CNPJ).

    78
    31.6k last 90 days
  • luhn 0.3.3

    Luhn algorithm in Elixir

    17
    29.0k last 90 days
  • Bankster is an IBAN and BIC validation tool for Elixir.

    34
    15.7k last 90 days
  • domo 1.5.19

    A library to validate values of nested structs with their type spec `t()` and associated precondition functions.

    212
    13.7k last 90 days
  • filtrex 0.4.3

    A library for performing and validating complex filters from a client (e.g. smart filters)

    198
    13.5k last 90 days
  • goal 1.2.0

    A parameter validation library based on Ecto

    88
    12.3k last 90 days
  • zoi 0.12.0

    Zoi is a schema validation library for Elixir, designed to provide a simple and flexible way to define and validate data.

    150
    11.8k last 90 days
  • Simple validation for keyword lists.

    10
    11.8k last 90 days
  • Detect disposable (burner) or personal email addresses.

    37
    11.2k last 90 days
  • burnex 3.2.0

    Elixir burner email (temporary address) detector

    80
    11.0k last 90 days
  • jsv 0.13.1

    A JSON Schema Validator with complete support for the latest specifications.

    59
    10.8k last 90 days
  • EctoSanitizer is a libary for sanitizing inputs to Ecto Changesets.

    1
    8.8k last 90 days
  • SQL-LIKE sanitization for strings.

    0
    8.5k last 90 days
  • Plugin for typed struct to integrate with changeset

    4
    7.9k last 90 days
  • Data validation and transformation

    91
    7.9k last 90 days
  • vnu 1.1.1

    An Elixir client for the Nu HTML Checker (validator.w3.org/nu). Offers validating HTML, CSS, and SVG documents.

    57
    7.4k last 90 days
  • Validate JSON and store to a specified data structure

    14
    6.6k last 90 days
  • ex_gtin 1.2.0

    Elixir Global Trade Item Number (GTIN) Validation Library for GS1, UPC-12, and GLN. Validates GTIN-8, GTIN-12 (UPC-12), GTIN-13 (GLN), GTIN-14 codes. Universal Price Code (UPC)

    16
    6.2k last 90 days
  • A library to validate passwords, with built-in validators for password length as well as the character sets used. Custom validators can also be created.

    21
    5.2k last 90 days
  • Defines a GraphQL directive to be used with Absinthe to validate input values.

    8
    4.9k last 90 days
  • Validate any data

    32
    4.8k last 90 days
  • Helpers for validating email addresses

    13
    4.0k last 90 days
  • skooma 0.2.0

    Data structure validator for elixir

    141
    3.7k last 90 days
  • GuardedStruct macro allows to build Structs that provide you with a number of important options Validation, Sanitizing, Constructor

    30
    3.7k last 90 days
  • A `TypedStruct` plugin utilizing Ecto.Changeset validation enabled by the plugin `TypedStructEctoChangeset` to provide validating constructors"

    3
    3.7k last 90 days
  • drops 0.2.1

    Tools for working with data effectively - data contracts using types, schemas, domain validation rules, type-safe casting, and more.

    297
    3.0k last 90 days
  • jesse (JSon Schema Erlang) is an implementation of a JSON Schema validator for Erlang.

    1
    2.5k last 90 days
  • StructCop is a library that was aimed to introduce data correctness and type corecion into Elixir structs. It also simplifies building valid structs with smart constructors.

    18
    2.4k last 90 days
  • Declarative descriptions of how to create a struct from different kinds of input data.

    91
    2.4k last 90 days
  • exop 1.4.5

    A library that provides a few macros which allow you to encapsulate business logic and validate incoming params over predefined contract.

    216
    2.3k last 90 days
  • optium 0.3.0

    Library for validating arguments passed in keyword lists

    4
    2.1k last 90 days
  • exiban 0.0.5

    Library for manipulating and validating IBAN account numbers.

    10
    2.0k last 90 days
  • TypedStruct plugin for validation & documentation with NimbleOptions

    4
    1.7k last 90 days
  • jtd 0.1.0

    Elixir implementation of JSON Type Definition validation.

    3
    1.7k last 90 days
  • An Elixir rule engine where rules are json objects. The judge gives verdicts on any rule matches for a provided json payload.

    19
    1.7k last 90 days
  • cvr 0.1.0

    A library for validating and generating Danish CVR-numbers and P-numbers.

    0
    1.5k last 90 days
  • cpf 1.2.0

    A Brazilian CPF validation written in Elixir.

    40
    1.5k last 90 days
  • Schema creation, validation with serialization and deserialization for input data

    62
    1.4k last 90 days