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,344
1.14.73
MIT
77.7 kB
29