List of Glogal TLDs (gTLDs) gathered from IANA.
npm install global-tld-list --save
import { TLDs } from 'global-tld-list';
const isValid = TLDs.isValid('com');
Since v1.0.0, this package uses map instead of array for runtime performance.
List of Glogal TLDs (gTLDs) gathered from IANA.
npm install global-tld-list --save
import { TLDs } from 'global-tld-list';
const isValid = TLDs.isValid('com');
Since v1.0.0, this package uses map instead of array for runtime performance.