Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mastermunj/global-tld-list
- Owner: mastermunj
- License: mit
- Created: 2020-05-17T11:55:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T04:17:31.000Z (about 2 months ago)
- Last Synced: 2024-10-30T04:59:17.698Z (about 2 months ago)
- Topics: domains, gtld, gtlds, tld, top-level-domains
- Language: TypeScript
- Size: 11.9 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.