Dilo
0.3.0
  • Getting Started
  • Initial Rules
  • Basic Types
  • Acceptance Rules
  • Size Rule
  • Compare Rules
  • Field Rules
Dilo
  • Welcome to Dilo’s documentation!
  • View page source

Welcome to Dilo’s documentation!

Dilo (/daɪˌloʊ/ dy-LOH) is a validation library for deno. The name is short for “Dilophosaurus”. It is essentially a port of laravel’s validation library.

Note

This project is under active development.

Contents

  • Getting Started
    • Prerequisites
    • Installation
    • Example
  • Initial Rules
    • Required
    • Sometimes
    • Nullable
  • Basic Types
    • array
    • object:list,of,keys
    • boolean
    • date
    • decimal:min, max
    • integer
    • json
    • numeric
    • string
  • Acceptance Rules
    • accepted
    • declined
  • Size Rule
    • size:value
  • Compare Rules
    • contains:foo,bar,…
    • digits:value
    • digits_between:min,max
    • starts_with:foo,bar,…
    • doesnt_start_with:foo,bar,…
    • ends_with:foo,bar,…
    • doesnt_end_with:foo,bar,…
    • email
    • filled
    • gt:fieldOrValue
    • gte: fieldOrValue
    • in:foo,bar,…
    • not_in:foo,bar,…
    • lt: fieldOrValue
    • lte: fieldOrValue
    • lowercase
    • uppercase
    • url
    • ulid
    • uuid
    • ip
    • ipv4
    • ipv6
    • mac_address
  • Field Rules
    • missing
    • missing_if:anotherfield,value,…
    • missing_unless:anotherfield,value
    • missing_with:foo,bar,…
    • missing_with_all:foo,bar,…
    • same:field
Next

© Copyright 2021, Dilo.

Built with Sphinx using a theme provided by Read the Docs.