Skip to content

Commit

Permalink
Typo in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
oncletom committed Jan 8, 2013
1 parent 2150745 commit 7f06b73
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ Checks if the TLD is valid for a given host.
```javascript
tld.tldExists('google.com'); // returns `true`
tld.tldExists('google.google'); // returns `false` (not an explicit registered TLD)
tld.tldexists('com'); // returns `true`
tld.tldexists('uk'); // returns `true`
tld.tldexists('co.uk'); // returns `true` (because `uk` is a valid TLD)
tld.tldexists('amazon.fancy.uk'); // returns `true` (still because `uk` is a valid TLD)
tld.tldexists('amazon.co.uk'); // returns `true` (still because `uk` is a valid TLD)
tld.tldExists('com'); // returns `true`
tld.tldExists('uk'); // returns `true`
tld.tldExists('co.uk'); // returns `true` (because `uk` is a valid TLD)
tld.tldExists('amazon.fancy.uk'); // returns `true` (still because `uk` is a valid TLD)
tld.tldExists('amazon.co.uk'); // returns `true` (still because `uk` is a valid TLD)
```

### getSubdomain()
Expand Down

0 comments on commit 7f06b73

Please sign in to comment.