is-gtld
v1.0.0
Published
Check if a value is a valid gTLD.
Downloads
23
Maintainers
Readme
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