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.
npm i global-tld-list
2,530
1.14.26
MIT
76.4 kB
29