bot-detector
It uses the user-agents.org xml file for detecting bots.
Last updated 5 years ago by slooker .
ISC · Original npm · Tarball · package.json
$ cnpm install bot-detector 
SYNC missed versions from official npm registry.

bot-detector

Bot Detector is a simple npm plugin that fetches the list of bot user-agents from http://www.user-agents.org/allagents.xml . It will return true if the string is a bot or false if it is not.

On require, it loads the XML from a local file. On require, it will also spit out a debug message listing the number of bots loaded. If there are no bots loaded from the botlist, it will throw a warning message.

Usage

var botDetect = require('botDetect');
botDetect.isBot('user agent string');

Updating bot list

To update the list of bots from www.user-agents.org, just run the following command:

grunt updateBotList

License

bot-detector is licensed under ISC.

About

bot-detector was developed by the team at Wedgies.

Wedgies is a digital survey platform that gives media, journalists and brands in-line survey capabilities inside social media, their website, and their apps — where they can collect millions of opinions from their readers and users. Wedgies is the leading social survey platform that enables publishers to collect survey respondents directly within social media streams.

Wedgies, a darling of Tony Hsieh’s Las Vegas’ Vegas Tech Fund, is backed by an all-star list of investors including Greycroft, Advancit Capital, MESA Ventures, Knight Foundation, kbs+ Ventures, Battle Born Ventures, Twilio, 500 Startups and SV Angel.

Wedgies founding team consists of top talent in developer tools and community management with experience that includes Zappos.com, Overstock.com, and Backcountry.com.

Built with Wedgies

Current Tags

  • 1.0.10                                ...           latest (5 years ago)

11 Versions

  • 1.0.10                                ...           5 years ago
  • 1.0.9                                ...           5 years ago
  • 1.0.8                                ...           5 years ago
  • 1.0.7                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |