Ensure accurate and secure input with our reliable string validation library.
npm i validify-string
import validator from "validify-string";
validator.isPasswordStrong("StrongPass12@#")
validator.isAlpha("Jagroop")
validator.isEmpty(str)
This function will check if string is empty or not.
validator.isIdentical(strOne , strTwo)
This function will check if string One is equal to string Two.
validator.isAlpha(str)
This function will check if string contain Alphabets only.
validator.isAlphaNumeric(str)
This function will check if string is AlphaNumeric string only.
validator.isValidEmail(email)
This function will check if given Input is valid email or not.
validator.countWords(str)
This function will return number of words in a string.
validator.isAvailable(str, word)
This function will check if given word is available in the string or not.
validator.countOccurrences(str, word)
This function will count the occurrence of word in the string.
validator.isPasswordStrong(password)
This function will check if given Input is valid password or not.
validator.isURL(str)
This function will check if given Input is valid URL or not.