1.0.5 • Published 5 years ago

domain-check v1.0.5

Weekly downloads
9
License
ISC
Repository
github
Last release
5 years ago

domain-check Build Status

domain-check is a node module using promises allowing to check if a domain is free to register or not

Installation

npm install domain-check --save
yarn add domain-check
bower install domain-check --save

Usage

To check if a domain is free you can create a new Domain object...

const domainCheck = require('domain-check');
const Domain = domainCheck.Domain;

...

const domain = new Domain('google.de');
console.log(await domain.isFree());

or use the static method isFree of the Domain class

    const Domain = require('domain-check').Domain;

    ...

    const isFree = await Domain.isFree('google.de');
    console.log(isFree);

Known issues

It might be that the module shows an registered domain as available to register. This is because the underlying library node-whois can not handle newer tlds. A fix is in progress.

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.0-inactive

7 years ago

1.2.0

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago