faker-js / faker

Generate massive amounts of fake data in the browser and node.js
https://fakerjs.dev
Other
11.85k stars 877 forks source link

Phone numbers should support special numbers #2839

Open sfabriece opened 3 weeks ago

sfabriece commented 3 weeks ago

Clear and concise description of the problem

I see that there is a new syntax for generating phone numbers using style. In Norway and probably other places, we have special numbers. It would be great if this support is added.

More information can be found here

Suggested solution

add style: special to the supported styles which should be supported by the individual locales. Possibly some way to configure which special style.

Alternative

Currently, I could generate the sequence manually but it would not be locale aware.

Additional context

No response

github-actions[bot] commented 3 weeks ago

Thank you for your feature proposal.

We marked it as "waiting for user interest" for now to gather some feedback from our community: