Ideas for additional phone options #2883
Replies: 5 comments
-
Suggested at #1542 (comment) - ability to generate cellphone/mobile numbers only |
Beta Was this translation helpful? Give feedback.
-
Suggested at #1542 (comment) - what can we learn from the FFaker Ruby gem implementation? https://www.rubydoc.info/github/ffaker/ffaker/FFaker/PhoneNumber |
Beta Was this translation helpful? Give feedback.
-
Support "special" numbers - #2839 |
Beta Was this translation helpful? Give feedback.
-
More strict checking for valid NANP (+1) phone numbers - #2303 |
Beta Was this translation helpful? Give feedback.
-
Cellphone number generation (Less strict variant). For counties where it is impossible to easily distinguish and generate cellphone and landline numbers, generating any valid number would be sufficient. Reasoning: when a service that only has basic phone numbers checks, for counties where it's not trivial to tell them apart, it's ok to generate anything since the other side won't be able to tell the difference anyway. |
Beta Was this translation helpful? Give feedback.
-
This discussion is to keep track of suggestions for further improvements to the
faker.phone.number()
method.In v9 this is already being changed to use a "style" parameter.
https://next.fakerjs.dev/guide/upgrading.html#phone-number-style-replaces-explicit-format
However there may be use-cases which are not well covered by the eexisting "styles"
Beta Was this translation helpful? Give feedback.
All reactions