
A library of string validators and sanitizers.
👑 Written in Nim language
nimble install valido
- Framework agnostic
- Zero RegExp
- is
Base32,Base58,Base64 - is
Email - is
IP4,IP6 - is
IBAN - is
CARD(BIN/IIN support forVisa,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 |
MITLicense - Written in Nim language
import valido/[email, ip, password]
assert isEmail("[email protected]") == true
assert isIP4("127.0.0.1", allowLoopback = false) == false
assert isStrongPassword("123adminAdmin") == false
todo Enable extra features by passing -d:validoCountries. This includes information
about all countries, currency, languages, phone codes/prefixes/length, postal information and states.
todo Enable IBAN validation by passing -d:validoSwiftCodes
- 🐛 Found a bug? Create a new Issue
- 👋 Wanna help? Fork it!
- 😎 Get €20 in cloud credits from Hetzner
Valido | MIT license. Made by Humans from OpenPeeps.
Copyright © OpenPeeps & Contributors — All rights reserved.