node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

is-crawler

is-crawler

Build Status

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