RandomAPI / Randomuser.me-Node

Source code that powers randomuser.me
https://randomuser.me
MIT License
1.35k stars 268 forks source link

Minor phone number formatting issue #149

Closed mlevin2 closed 2 years ago

mlevin2 commented 4 years ago

North American phone numbers should be one of these:

The data returned looks like this:

{ "phone": "(912)-464-7839" }

So if you use parentheses, don't put a dash after them. Either format is fine, but don't combine them :-)

I submitted pull request #150 for this

Update: also fixed it so that neither NPA nor NXX can start with a 0 or 1

keitharm commented 2 years ago

Changes merged in https://github.com/RandomAPI/Randomuser.me-Node/pull/150