node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

is-bot

is-bot

Determines if a user-agent is a bot/spider/crawler.

usage

var isbot = require('is-bot');
var assert = require('assert');
 
assert(isbot('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'));

install

$ npm install is-bot

license

MIT