bguiz / got-or-not

Ensure that URLs are reachable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

got-or-not

Ensures that specified URLs are reachable, or that specified files exist.

Installation

npm i --save got-or-not

Usage

var gotOrNot = require('got-or-not');
gotOrNot({
  urls: [
    'https://github.com/bguiz',
    'http://bguiz.com/'
  ],
  files: [
    './package.json',
    './foo/bar/baz'
  ],
});

Author

Brendan Graetz

Licence

GPL-3.0

About

Ensure that URLs are reachable


Languages

Language:JavaScript 100.0%