Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat: isMobilePhone] add Kenya (en-KE) validation #673

Merged
merged 1 commit into from
Jun 26, 2017

Conversation

profnandaa
Copy link
Member

@profnandaa profnandaa commented Jun 25, 2017

What does this PR do?

  • Adds validation for Kenya phone numbers. See details of valid KE phone
    numbers here
  • I have also updated the README appropriately

How can it be tested?

I have added tests for the validator in the test/validators.js file, so can be tested by npm test

closes #656

- Adds validation for Kenya phone numbers. See details of valid KE phone
  numbers here -
https://en.wikipedia.org/wiki/Telephone_numbers_in_Kenya

closes validatorjs#656
@chriso
Copy link
Collaborator

chriso commented Jun 26, 2017

Thanks 😄

@chriso chriso merged commit 3820da2 into validatorjs:master Jun 26, 2017
@profnandaa
Copy link
Member Author

@chriso -- cool! 👍 I'll go ahead and do for a few other African countries.

builtinnya added a commit to builtinnya/DefinitelyTyped that referenced this pull request Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add KE locale on isMobilePhone.js
2 participants