check-site-for

0.1.0 • Public • Published

Check bunch of sites for a given pattern

Promise-based site content predicate applicator

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 }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i check-site-for

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • boo1ean