Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mastermunj/global-tld-list

List of Global TLDs
https://github.com/mastermunj/global-tld-list

domains gtld gtlds tld top-level-domains

Last synced: about 1 month ago
JSON representation

List of Global TLDs

Awesome Lists containing this project

README

        

# Global TLD List

List of Glogal TLDs (gTLDs) gathered from [IANA](http://data.iana.org/TLD/tlds-alpha-by-domain.txt).

## Installation

```sh
npm install global-tld-list --save
```

## Usage

```js
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.