Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 390 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 390 Bytes

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.