Validations

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

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

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

    388
    340.1k last 90 days
  • ham 0.3.2

    Runtime Type checking

    10
    212.8k last 90 days
  • optimal 0.3.7

    A schema based `opt` validator

    50
    145.6k last 90 days
  • xema 0.17.5

    A schema validator inspired by JSON Schema.

    83
    79.8k last 90 days
  • vex 0.9.2

    An extensible data validation library for Elixir

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

    116
    66.1k 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
    58.2k last 90 days
  • peri 0.6.2

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

    122
    54.5k last 90 days
  • valdi 0.6.0

    Simple data validation for Elixir

    26
    38.3k last 90 days
  • zoi 0.16.1

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

    179
    33.5k last 90 days
  • tarams 1.8.0

    Phoenix request params validation library

    119
    33.3k last 90 days
  • params 2.3.0

    Parameter structure validation and casting with Ecto.Schema.

    373
    28.7k 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
    26.0k last 90 days
  • jsv 0.16.0

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

    65
    26.0k last 90 days
  • luhn 0.3.3

    Luhn algorithm in Elixir

    17
    25.1k last 90 days
  • domo 1.5.19

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

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

    34
    13.1k last 90 days
  • Simple validation for keyword lists.

    10
    11.5k last 90 days
  • filtrex 0.4.3

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

    198
    10.9k last 90 days
  • goal 1.2.0

    A parameter validation library based on Ecto

    89
    10.0k last 90 days
  • Detect disposable (burner) or personal email addresses.

    37
    9.5k last 90 days
  • burnex 3.2.0

    Elixir burner email (temporary address) detector

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

    4
    8.3k last 90 days
  • Data validation and transformation

    91
    8.2k last 90 days
  • Validate JSON and store to a specified data structure

    14
    6.6k 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
    6.4k last 90 days
  • Helpers for validating email addresses

    13
    5.4k 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
    5.1k last 90 days
  • GuardedStruct macro allows to build Structs that provide you with a number of important options Validation, Sanitizing, Constructor

    31
    4.9k last 90 days
  • ex_gtin 1.2.1

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

    8
    4.7k last 90 days
  • Validate any data

    32
    4.5k 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.7k last 90 days
  • skooma 0.2.0

    Data structure validator for elixir

    141
    3.7k last 90 days
  • TypedStruct plugin for validation & documentation with NimbleOptions

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

    3
    3.2k 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
    3.1k last 90 days
  • A library for defining structs using Zoi

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

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

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

    1
    2.2k last 90 days
  • Elixir implementation of the NLdoc Spec for validation of documents.

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

    91
    2.1k last 90 days
  • optium 0.3.0

    Library for validating arguments passed in keyword lists

    4
    1.7k last 90 days
  • talos 1.12.3

    Simple parameters validation library

    26
    1.4k 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
    1.4k last 90 days
  • Filtering from incoming params in Elixir/Ecto/Phoenix with easy to use DSL.

    106
    1.4k last 90 days