1.0.5 • Published 4 years ago

@petercraftsmn/validate v1.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
4 years ago

#Validate

Functions

All functions return boolean value, false on failure

  • Validates that a string is string of characters
isStringOfCharacters(str)
  • Validates that a string is fit for username
isStringOfUsername(str)
  • Validates that string is an email
 isEmail(email)
  • Validates that string is fit for password
isStringOfPassword(password)