valido

A library of string validators and sanitizers.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-22 05:28

Installation

nimble install valido
choosenim install valido
git clone https://github.com/openpeeps/valido

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
valido - - - - - - -

Source

Repository https://github.com/openpeeps/valido
Homepage https://github.com/openpeeps/valido
Registry Source nimble_official

README


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

nimble install valido

API reference
Github Actions Github Actions

😍 Key Features

  • [x] Framework agnostic
  • [ ] Zero RegExp
  • [x] is Base32, Base58, Base64
  • [x] is Email
  • [x] is IP4, IP6
  • [ ] is IBAN
  • [x] is CARD (BIN/IIN support for Visa, MasterCard, Maestro, Discovery, etc.)
  • [x] is Strong Password
  • [x] is Port
  • [x] is URI
  • [x] is UUID
  • [x] is JSON
  • [x] is Lowercase, Uppercase, Alpha, Alphanumerical, Digits
  • [x] is Boolean, Int, Float, Hex, Regex
  • [ ] is Country
  • [x] Open Source | MIT License
  • [x] 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.