1.0.2 • Published 6 years ago
url-exists-promise v1.0.2
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))