README
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.indexOf('com') >= 0;
List of Global TLDs
<script type="module">
import globalTldList from 'https://cdn.skypack.dev/global-tld-list';
</script>
List of Glogal TLDs (gTLDs) gathered from IANA.
npm install global-tld-list --save
import { TLDs } from 'global-tld-list';
const isValid = TLDs.indexOf('com') >= 0;