/url-exists

A simple node library to determine if a url exists

Primary LanguageJavaScriptMIT LicenseMIT

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
});