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

1.14.27 • Public • Published

Global TLD List

List of Glogal 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

2,194

Version

1.14.27

License

MIT

Unpacked Size

76.5 kB

Total Files

29

Last publish

Collaborators

  • mastermunj