1.0.2 • Published 3 years ago
gluee v1.0.2
Gluee
What?
A package that sticks the KB project's backend and client together. Hence, gluee
API
User input validation
Function | argument(s) | description |
---|---|---|
isValidEmail | string | Checks if the input string is a valid email |
isValidContactNumber | string | Checks if the input string is a valid Indian phone number (with or without the country code) |
isValidUsername | string | Checks if the input string is either a valid email or a valid phone number |
Contributing
- Create a suitable folder under
src
, if one does not exist. - Add code to the file(s) in the created/existing folder.
- Make sure to expose only the required functions using an
index.js
file - Create an issue and raise a PR agains the issue created.