url-exists

1.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i url-exists

Weekly Downloads

18,530

Version

1.0.3

License

MIT

Last publish

Collaborators

  • boblauer