Skip to content

mastermunj/global-tld-list

Repository files navigation

Global TLD List

List of Glogal TLDs (gTLDs) gathered from IANA.

Installation

npm install global-tld-list --save

Usage

import { TLDs } from 'global-tld-list';

const isValid = TLDs.isValid('com');

Breaking Change in v1.0.0

Since v1.0.0, this package uses map instead of array for runtime performance.