Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More

street

// usage randBox.street() randBox.street({country:it})

Generate a random street

randBox.street(); => 'Tesca Circle'

Optionally mandate that it returns a short suffix

randBox.street({short_suffix: true}); => 'Jiled St'

Optionally specify the number of syllables used to generate the street name

randBox.street({syllables: 8}); => 'Teniefitinusewjircor Junction'

Optionally specify a country to localize street prefixes

randBox.street({country: 'it'}); => 'Via Nefba'

Note, currently support for country is limited to: 'us', 'it'.

Last updated on: