Purpose:
- this is a utility function to test if the domain is exists or not by returning boolean value.
for ex
import doesDomainExists from '@dharmendrasha/check-domain'
async main(){
const domain = "https://elitale.com"
const checkExists = await doesDomainExists(domain)
console.log(checkExists) // true
}
main()
Licence
- MIT
- Git (https://github.com/dharmendrasha)
- Linked (https://www.linkedin.com/in/dharmendrashah/)