url-exists-promise
v1.0.2
Published
Check if a url exists.
Downloads
212
Readme
url-exists-promise
Check if a url exists in node. Uses a HEAD request.
import { urlExists } from 'url-exists-promise'
urlExists('https://google.com/')
// probably true
.then(res => console.log(res))