is-gtld Check if a value is a valid gTLD Install $ npm install is-gtld Usage const isGTLD = require('is-gtld'); isGTLD('xyz'); //=> 'true' API isGTLD(input) input Type: string The gTLD or domain name extension to check. Related gtlds - Get all gTLDs License MIT © Chris Vogt