Skip to content

fridays/is-tld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-tld

Build Status npm version

Returns true if a value is a top-level domain

Installation

npm install --save is-tld

Usage

const isTld = require('is-tld')

isTld('com') // true
isTld('_') // false

Credits

tld-list A list of all valid top-level domains updated from time to time.

About

Returns true if a value is a top-level domain

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published