node package manager
Easy sharing. Manage teams and permissions with one click. 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