Validations

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

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

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

    384
    589.1k last 90 days
  • ham 0.3.2

    Runtime Type checking

    10
    363.8k last 90 days
  • optimal 0.3.7

    A schema based `opt` validator

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

    115
    128.8k 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.

    699
    128.7k last 90 days
  • vex 0.9.2

    An extensible data validation library for Elixir

    602
    120.5k last 90 days
  • xema 0.17.5

    A schema validator inspired by JSON Schema.

    82
    114.0k last 90 days
  • peri 0.6.1

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

    120
    73.6k last 90 days
  • valdi 0.6.0

    Simple data validation for Elixir

    25
    71.9k last 90 days
  • params 2.3.0

    Parameter structure validation and casting with Ecto.Schema.

    371
    69.2k last 90 days
  • tarams 1.8.0

    Phoenix request params validation library

    119
    65.1k last 90 days
  • luhn 0.3.3

    Luhn algorithm in Elixir

    17
    49.5k 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
    47.1k last 90 days
  • EctoSanitizer is a libary for sanitizing inputs to Ecto Changesets.

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

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

    34
    21.1k last 90 days
  • burnex 3.2.0

    Elixir burner email (temporary address) detector

    79
    20.4k last 90 days
  • goal 1.2.0

    A parameter validation library based on Ecto

    85
    19.1k last 90 days
  • filtrex 0.4.3

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

    198
    18.7k last 90 days
  • Detect disposable (burner) or personal email addresses.

    36
    17.4k last 90 days
  • domo 1.5.18

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

    212
    17.1k last 90 days
  • Simple validation for keyword lists.

    10
    16.4k last 90 days
  • Data validation and transformation

    91
    12.8k 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
    12.8k 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
    11.9k last 90 days
  • Defines a GraphQL directive to be used with Absinthe to validate input values.

    8
    11.6k last 90 days
  • Validate JSON and store to a specified data structure

    14
    10.5k last 90 days
  • Validate any data

    32
    7.5k 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
    7.2k last 90 days
  • exiban 0.0.5

    Library for manipulating and validating IBAN account numbers.

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

    62
    5.6k last 90 days
  • Plugin for typed struct to integrate with changeset

    4
    5.0k last 90 days
  • skooma 0.2.0

    Data structure validator for elixir

    141
    5.0k 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
    4.7k 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
    4.0k last 90 days
  • jsv 0.11.2

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

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

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

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

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

    1
    3.2k 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.

    295
    2.8k last 90 days
  • optium 0.3.0

    Library for validating arguments passed in keyword lists

    4
    2.7k last 90 days
  • jtd 0.1.0

    Elixir implementation of JSON Type Definition validation.

    3
    2.5k last 90 days
  • TypedStruct plugin for validation & documentation with NimbleOptions

    4
    2.1k last 90 days
  • Filtering from incoming params in Elixir/Ecto/Phoenix with easy to use DSL.

    105
    2.0k last 90 days
  • cpf 1.2.0

    A Brazilian CPF validation written in Elixir.

    40
    1.8k last 90 days
  • talos 1.12.3

    Simple parameters validation library

    25
    1.8k last 90 days
  • A library to validate email address format.

    -
    1.7k last 90 days
  • zoi 0.7.2

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

    73
    1.7k last 90 days
  • Fast case-insensitive validation and conversion between ISO Alpha-2, Alpha-3, and Numeric Country and Language Codes.

    12
    1.7k last 90 days
  • elixact 0.1.2

    Schema definition and validation library for Elixir

    28
    1.6k last 90 days