checking
v1.0.1
Published
Checking domain names availability
Downloads
15
Maintainers
Readme
checking
This package allows you to check the availability of a domain name using the whoisxmlapi api.
Installation
$ npm install checking
How does it work
whoisxmlapi allows you to make free 50 queries, but if you sign up, you can get 500 free queries. You also can buy more balance if you need to.
var checking = require('checking');
/* specifying your whoisxmlapi username and password is optional */
checking.username = 'MY USERNAME'
checking.password = '******'
checking.check('domain.com', function (error, available) {
if(error) return console.log(error);
if(available) {
console.log('domain.com is available');
} else {
console.log('No chance!');
}
})