List of Global 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 Global 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
3,001
1.19.0
MIT
24.1 kB
8