summaryrefslogtreecommitdiff
path: root/src/node_modules/chance/docs/web/email.md
blob: 2d91d54bb4ce17c606c1d168d6ed8c7c89df404b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# email

```js
// usage
chance.email()
chance.email({domain: "example.com"})
```

Return a random email with a random domain.

```js
chance.email()
=> 'kawip@piklojzob.gov'
```

Optionally specify a domain and the email will be random but the domain will not.

```js
chance.email({domain: 'example.com'})
=> 'giigjom@example.com'
```