Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 511 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 511 Bytes

Validators Library

Some useful data validators:

  • validate email address for correct syntax
  • check email domain is a disposable service or not
  • check any IPv4 for blacklists
  • cache data lists in memory for speed

Disposable Email Provider

// return true
IsDisposableEmailProvider("disposableaddress.com")

// return false
IsDisposableEmailProvider("gmail.com")

Suspicious IPv4

// return true
IsSuspiciousIPv4("141.98.10.125")

// return false
IsSuspiciousIPv4("1.1.1.1")