A deeper determination if an URL exists.
npm install url-exists-deepA deeper determination if an URL exists.
It tests for:
+ Domain available and accessible
+ Url available and accessible
+ Redirect available and accessible
url-exists-deep was developed for performance and accuracy. To check whether a url
exists and is publicly accessible or not a HEAD request is sent, because this is much faster then a GET.
Most hosts are responding correct. If the host responses with a 403 Forbidden a GET
request with User-Agent and Accept header is sent.
```
> npm i url-exists-deep
`javascript
import urlExists from 'url-exists-deep';
`
`javascript`
const url = 'https://www.google.com';
const exists = await urlExists(url);
Returns false if url does not exists or ` object ` with url information.
Makes a deeper determination if a url exists or not. To reduce false negative
responses.
If `url`` redirects with 301 url-exists-deep follows the redirect and returns
the destination url if exists.