Check availability for .ch domains
const whoiser = require("whoiser")
let domainToCheck = 'switch.ch';
whoiser.query({ host: 'whois.nic.ch', port: 4343, query: domainToCheck }).then(response => {
console.log(`${domainToCheck} availability -> ${response}`)
}, console.error)
no comments