url-exists
v1.0.3
Published
Check if a url exists
Downloads
53,074
Readme
url-exists
A simple node library to determine if a url exists
Usage
var urlExists = require('url-exists');
urlExists('https://www.google.com', function(err, exists) {
console.log(exists); // true
});
urlExists('https://www.fakeurl.notreal', function(err, exists) {
console.log(exists); // false
});