Adeohluwa / validator

This library provides several functions to validate real world data types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validator

License: MIT Build Status Build Status

This library provides several functions to validate real world data types

Installation

$ nimble install validator

Tests

$ nimble test
Validators Description Sub functions
isEmail(text: string): bool Check if string is an email address. isGmail,isOutlook,isYahoo,isiCloud,isQq
isCreditCard(text: string): bool Check if string is a valid credit card number. isMastercard,isAmericanExpress,isVisa,isJCB, isDiners, isMaestro
isIP(text: string): bool Check if string is an IP address. isIPv4,isIPv6

About

This library provides several functions to validate real world data types

License:MIT License


Languages

Language:Nim 100.0%