built-form-fields-validator
v1.0.1
Published
This package was created using TypeScript to validate different types of forms fields. All functions take in some string parameter and return true or false to indicate whether they match some text format or conditions.
Downloads
3
Readme
This package was created using TypeScript to validate different types of forms fields. All functions take in some string parameter and return true or false to indicate whether they match some text format or conditions.
##Available Functions nameValidator: (name: string) => boolean emailValidator: (email: string) => boolean dateValidator: (date: string) => boolean phoneValidator: (phoneNum: string) => boolean purposeValidator: (description: string) => boolean