A list of all gGTLD names from the ICANN registry.
npm install gtlds> gTLD utilities
A list of all gTLDs from the ICANN registry, including the registry operator and whether the gTLD has been terminated.
The list is a JSON file and can be used anywhere.
```
$ npm install gtlds
`js
const gtlds = require('gtlds');
gtlds.random();
/*
{
"contractTerminated":false,
"gTLD":"google",
"registryOperator":"Charleston Road Registry Inc."
}
*/
`
Type: Array
gTLDs in alphabetical order.
Type: Array
gTLD names in alphabetical order.
Type: Function
Random gTLD.
A node script is available to sync gTLD data via npm run sync`. It will fetch, parse, and overwrite the _gtlds.json_ file.
MIT © Chris Vogt