消除我特牛
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

594 B

street

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

Generate a random street

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

Optionally mandate that it returns a short suffix

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

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

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

Optionally specify a country to localize street prefixes

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

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