Skip to content

Commit

Permalink
Merge pull request #1599 from rluba/patch-1
Browse files Browse the repository at this point in the history
Link to isemail for email() options
  • Loading branch information
Marsup committed Sep 27, 2018
2 parents a496210 + fd1911a commit 1e837de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions API.md
Expand Up @@ -2011,6 +2011,8 @@ Requires the string value to be a valid email address.
- `errorLevel` - Numerical threshold at which an email address is considered invalid.
- `tldWhitelist` - Specifies a list of acceptable TLDs.
- `minDomainAtoms` - Number of atoms required for the domain. Be careful since some domains, such as `io`, directly allow email.

Have a look at [`isemail`’s documentation](https://github.com/hapijs/isemail) for a detailed description of the options.

```js
const schema = Joi.string().email();
Expand Down

0 comments on commit 1e837de

Please sign in to comment.