From fd1911a9d62f0292dca5af1f6ed214141fb2d934 Mon Sep 17 00:00:00 2001 From: Raphael Luba Date: Thu, 27 Sep 2018 08:53:15 +0200 Subject: [PATCH] Link to isemail for email() options --- API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/API.md b/API.md index 4da9687d5..5cec08151 100644 --- a/API.md +++ b/API.md @@ -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();