Skip to content

Add fake.location.{address,address2,city,state,zip,coords} #76

@serhalp

Description

@serhalp

We already have fake.zip() and there is an open PR to add fake.address().

I would propose to move both of these (we can do this in a non-breaking way by exporting them in both namespaces) under fake.location:

  • fake.location.address: fake.address() as in Create address generator #57
  • fake.location.address2: generate an optional line that looks like an "address line 2"
  • fake.location.city: generate a U.S. city name
  • fake.location.state: generate a U.S. state postal abbreviation
  • fake.location.zip: move/re-export fake.zip()
  • fake.location.coords.{lat,long}: generate latitude and latitude geocoordinates (we use a few different names for this so we should pick one carefully)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions