8000 GitHub - fridays/is-tld: Returns true if a value is a top-level domain · GitHub
[go: up one dir, main page]

Skip to content
fridaysPublic

About

Returns true if a value is a top-level domain

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

is-tld

npm version npm downloads

Returns true if a value is a top-level domain

Installation

npm install is-tld

Usage

const isTld = require('is-tld')

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

Source

IANA Root Zone Database

About

Returns true if a value is a top-level domain

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0