0.0.1 • Published 10 years ago
is-crawler v0.0.1
is-crawler
detect crawler
var isCrawler = require('is-crawler');
if (isCrawler('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')) {
console.log('is crawler');
};
License
The MIT License