Skip to content

Commit

Permalink
Add email example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
remusao committed Jan 7, 2019
1 parent a122a8b commit 6b549a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ tldts.parse('https://[::1]') // IPv6
// isPrivate: null,
// publicSuffix: null,
// subdomain: null }

tldts.parse('[email protected]') // email
// { domain: 'emailprovider.co.uk',
// hostname: 'emailprovider.co.uk',
// isIcann: true,
// isIp: false,
// isPrivate: false,
// publicSuffix: 'co.uk',
// subdomain: '' }
```

| Property Name | Type | Description |
Expand Down

0 comments on commit 6b549a6

Please sign in to comment.