is-gtld

1.0.0 • Public • Published

is-gtld Build Status codecov

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

License

MIT © Chris Vogt

Package Sidebar

Install

npm i is-gtld

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.61 kB

Total Files

4

Last publish

Collaborators

  • chrisvogt