check-domain-availability
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

check-domain-availability

Checks the availability of the domain name and returns with some useful information

Usage

import {Domains} from 'check-domain-availability';

Domains.find(domainName).then((isAvailable) => {
    if(isAvailable) {
        console.log('Available');
    } else {
        console.log('Not Available');
    }
}).catch((err) => {
    console.err('Handle err', err);
});

Package Sidebar

Install

npm i check-domain-availability

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.44 kB

Total Files

8

Last publish

Collaborators

  • thearunkumar