Ensures that specified URLs are reachable, or that specified files exist.
npm i --save got-or-not
var gotOrNot = require('got-or-not');
gotOrNot({
urls: [
'https://github.com/bguiz',
'http://bguiz.com/'
],
files: [
'./package.json',
'./foo/bar/baz'
],
});
GPL-3.0