1.0.0 • Published 8 years ago

robots-txt v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

robots-txt Build Status

Handles checking of robots.txt. handles concurrent requests and caching.

usage

var robots = require('robots-txt'),
    level  = require('level');

var bot = robots({
  db: level('./robots-txt-cache'),
  ttl: 1000 * 60 * 60 * 24 // one day
});

bot.isAllowed('woobot', 'http://www.woorank.com/my/path')
  .then(function (isAllowed) {
    // ...
  });

This module fetches robots.txt files and optionally caches them in a level-db. parsing and checking of robots.txt files is done by secondary modules robots-txt-parse and robots-txt-guard and can be used separately.

1.0.0

8 years ago

0.1.5

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago