Generate fictional US phone fixtures
generate-phone-numberGenerate up to 8 fictional US-format phone numbers. Use for mock phone-number fields in US-based test data. To validate a supplied number, use is-phone-e164. Generates fictional strings, not callable phone numbers or subscriber lookups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional supported US city for choosing the mock number pattern. | |
| seed | No | Optional deterministic seed for repeatable test numbers. | |
| count | No | Number of fabricated numbers, up to eight. | |
| state | No | Optional US state abbreviation: CA, NY, TX or FL. |