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.
22 lines
285 B
22 lines
285 B
4 weeks ago
|
# address
|
||
|
|
||
|
```js
|
||
|
// usage
|
||
|
chance.address()
|
||
|
chance.address({short_suffix: true})
|
||
|
```
|
||
|
|
||
|
Generate a random street address
|
||
|
|
||
|
```js
|
||
|
chance.address();
|
||
|
=> '5447 Bazpe Lane'
|
||
|
```
|
||
|
|
||
|
Optionally mandate that it return a short suffix
|
||
|
|
||
|
```js
|
||
|
chance.address({short_suffix: true});
|
||
|
=> '536 Baner Rd'
|
||
|
```
|