Skip to content

boo1ean/check-site-for

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Check bunch of sites for a given pattern

Promise-based site content predicate applicator

Installation

npm install check-site-for
var csf = require('check-site-for');

var urls = [
	'https://github.com/petkaantonov/bluebird',
	'https://github.com/boo1ean/shitty-qs',
	'https://github.com/msemenistyi/hypnos'
];

// Check github repos for existance of LICENSE file
csf(urls, 'blob/master/LICENSE').then(function(results) {
	console.log(results);
});

// ->

{ 'https://github.com/petkaantonov/bluebird': true,
  'https://github.com/boo1ean/shitty-qs': true,
  'https://github.com/msemenistyi/hypnos': false }

About

Check given list of sites for given content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published