@dharmendrasha/check-domain
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@dharmendrasha/check-domain

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

Package Sidebar

Install

npm i @dharmendrasha/check-domain

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

5.86 kB

Total Files

10

Last publish

Collaborators

  • dharmendrasha