WARNING: THIS PACKAGE IS UNMAINTAINED AND PROBABLY WON'T FUNCTION CORRECTLY ANYMORE.
Check if domain names are still available (disponible). Inofficial, using an endpoint by united-domains.de. Ask them for permission before using this module in production.
npm install --save disponible
const available = require('disponible')
const domainStream = disponible(['domain1.de', 'domain2.com', 'domain3.international'])
domainStream
.on('data', console.log)
.on('error', console.error)
Returns a readable stream in object mode
that emits objects that look as follows:
{
domain: 'butz-diekleinebratwurst.info',
level: {
top: 'info',
second: 'butz-diekleinebratwurst'
},
status: 'avail', // see the list below
price: {
registration: 19, // can be undefined, e.g. for status 'sedo-avail'
registrationPromo: false,
recurring: 19
}
}
avail
avail-premium
avail-on-demand
avail-preregister
preregistered
reserved
reserved-premium
registered
registered-premium
registered-udag
avail-sedo
avail-aftermarket
error
invalid
blocked
not-allowed
not-transferable
in-procedure
not-available
If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit the issues page.