global-tld-list
TypeScript icon, indicating that this package has built-in type declarations

1.19.0 • Public • Published

Global TLD List

List of Global 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.

Package Sidebar

Install

npm i global-tld-list

Weekly Downloads

3,001

Version

1.19.0

License

MIT

Unpacked Size

24.1 kB

Total Files

8

Last publish

Collaborators

  • mastermunj