String validation. Contribute to ali-security/validator.js-2098 development by creating an account on GitHub.
This library validates and sanitizes strings only. If you're not sure if your input is a string, coerce it using input + ''. Passing anything other than a string is ...