validate-tld

1.0.2 • Public • Published

validate-tld

A lightweight node module for validating whether is a provided string is an IANA recognized top level domain CircleCI

Installation

npm install --save validate-tld

Usage

const ValidateTLD = require('validate-tld')({cacheTTL: 60});
const valid = await ValidateTLD.validate('com'); // true

Readme

Keywords

none

Package Sidebar

Install

npm i validate-tld

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

64.6 kB

Total Files

10

Last publish

Collaborators

  • bedly