Validations

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

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

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

    380
    781.9k last 90 days
  • ham 0.3.1

    Runtime Type checking

    9
    453.1k last 90 days
  • optimal 0.3.7

    A schema based `opt` validator

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

    115
    153.8k last 90 days
  • xema 0.17.5

    A schema validator inspired by JSON Schema.

    81
    150.0k last 90 days
  • vex 0.9.2

    An extensible data validation library for Elixir

    604
    147.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.

    700
    127.1k last 90 days
  • params 2.3.0

    Parameter structure validation and casting with Ecto.Schema.

    371
    99.0k last 90 days
  • valdi 0.5.0

    Simple data validation for Elixir

    25
    91.8k last 90 days
  • tarams 1.8.0

    Phoenix request params validation library

    118
    84.3k last 90 days
  • luhn 0.3.3

    Luhn algorithm in Elixir

    17
    82.4k last 90 days
  • peri 0.6.0

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

    117
    79.1k 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).

    77
    58.5k last 90 days
  • burnex 3.2.0

    Elixir burner email (temporary address) detector

    78
    32.7k last 90 days
  • filtrex 0.4.3

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

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

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

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

    34
    28.2k last 90 days
  • goal 1.2.0

    A parameter validation library based on Ecto

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

    8
    20.2k last 90 days
  • Simple validation for keyword lists.

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

    36
    17.3k 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.

    55
    17.1k 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
    16.5k last 90 days
  • Validate JSON and store to a specified data structure

    14
    14.3k 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
    10.0k last 90 days
  • Validate any data

    32
    9.8k last 90 days
  • Data validation and transformation

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

    1
    6.7k last 90 days
  • Plugin for typed struct to integrate with changeset

    3
    6.2k last 90 days
  • skooma 0.2.0

    Data structure validator for elixir

    141
    6.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.

    217
    5.3k 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
    5.3k last 90 days
  • A `TypedStruct` plugin utilizing Ecto.Changeset validation enabled by the plugin `TypedStructEctoChangeset` to provide validating constructors"

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

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

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

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

    105
    3.2k last 90 days
  • Ensure structs match their current definition.

    0
    2.9k last 90 days
  • optium 0.3.0

    Library for validating arguments passed in keyword lists

    4
    2.6k last 90 days
  • TypedStruct plugin for validation & documentation with NimbleOptions

    4
    2.5k last 90 days
  • A library to validate email address format.

    -
    2.3k last 90 days
  • jsv 0.10.0

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

    46
    2.3k last 90 days
  • speck 1.2.2

    Input validation & protocol documentation

    13
    2.2k last 90 days
  • valicon 1.8.0

    A comprehensive set of data structure validation and related helper functions, designed to work without external dependencies.

    5
    2.2k last 90 days
  • jtd 0.1.0

    Elixir implementation of JSON Type Definition validation.

    3
    2.1k last 90 days
  • Elixir implementation of the NLdoc Spec for validation of documents.

    -
    2.1k last 90 days
  • A plug for Phoenix that validates and transforms HTTP request params.

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

    12
    2.0k last 90 days
  • exiban 0.0.5

    Library for manipulating and validating IBAN account numbers.

    10
    1.9k last 90 days
  • EctoCommand is a toolkit for mapping, validating, and executing commands received from any source.

    21
    1.9k last 90 days
  • cpf 1.2.0

    A Brazilian CPF validation written in Elixir.

    40
    1.9k 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.

    3
    1.8k last 90 days
  • talos 1.12.3

    Simple parameters validation library

    25
    1.8k last 90 days
  • elixact 0.1.2

    Schema definition and validation library for Elixir

    28
    1.8k last 90 days
  • A library for checking if an email address is from a disposable email service.

    2
    1.7k last 90 days