No description
Find a file
2025-07-02 05:16:37 +03:00
.github update 2023-02-02 00:05:33 +02:00
data move data outside src dir 2023-02-06 19:25:20 +02:00
src remove napibuild flag 2024-04-24 19:09:48 +03:00
tests update 2023-08-23 16:33:04 +03:00
.gitignore update 2023-01-30 19:57:51 +02:00
LICENSE Create LICENSE 2023-07-10 16:26:53 +03:00
README.md Update README.md 2025-07-02 05:16:37 +03:00
valido.nimble update 2023-02-06 19:25:43 +02:00


A library of string validators and sanitizers.
👑 Written in Nim language

nimble install valido

API reference
Github Actions Github Actions

😍 Key Features

  • Framework agnostic
  • Zero RegExp
  • is Base32, Base58, Base64
  • is Email
  • is IP4, IP6
  • is IBAN
  • is CARD (BIN/IIN support for Visa, MasterCard, Maestro, Discovery, etc.)
  • is Strong Password
  • is Port
  • is URI
  • is UUID
  • is JSON
  • is Lowercase, Uppercase, Alpha, Alphanumerical, Digits
  • is Boolean, Int, Float, Hex, Regex
  • is Country
  • Open Source | MIT License
  • Written in Nim language

Examples

import valido/[email, ip, password]

assert isEmail("office@example.com") == true
assert isIP4("127.0.0.1", allowLoopback = false) == false

assert isStrongPassword("123adminAdmin") == false

Extra features

todo Enable extra features by passing -d:validoCountries. This includes information about all countries, currency, languages, phone codes/prefixes/length, postal information and states.

IBAN with SWIFT information

todo Enable IBAN validation by passing -d:validoSwiftCodes

❤ Contributions & Support

🎩 License

Valido | MIT license. Made by Humans from OpenPeeps.
Copyright © OpenPeeps & Contributors — All rights reserved.