Giter VIP home page Giter VIP logo

valido's Introduction


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("[email protected]") == 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 ยฉ 2023 OpenPeeps & Contributors โ€” All rights reserved.

valido's People

Contributors

georgelemon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.