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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i is-gtld

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

2.61 kB

Total Files

4

Last publish

Collaborators

  • chrisvogt