RoyLeibo / phone-number-generator-js

MIT License
4 stars 3 forks source link

US phone numbers are generated with 1 as first digit which is illegal for US numbers #1

Open ghost opened 10 months ago

ghost commented 10 months ago

US phone number are generated with 1 as first digit which is illegal for US numbers,

Using 0 or 1 as the first digit of an area code or central office code is invalid, as is a 9 as the middle digit of an area code; these are trunk prefixes or reserved for North American Numbering Plan expansion.

Also

Pertaining to a fake telephone number. The local exchange and area code number 555 was reserved in North American dialing plan for fictional numbers, prior to the 21st century. 555-2368, that's a 555 number, it isn't real.

RoyLeibo commented 3 months ago

Sorry for the late response. I will take a look at it soon

RoyLeibo commented 2 months ago

Can you share an exmaple?