is-gtld
v1.0.0
Published
Check if a value is a valid gTLD.
Maintainers
Readme
is-gtld

Check if a value is a valid gTLD
Install
$ npm install is-gtldUsage
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
