Detect bots via user-agent.
yarn add amibot
const { isBot } = require("amibot");
isBot(req.headers["user-agent"]);
//=> true or false
isBot("Googlebot/2.1 (+http://www.google.com/bot.html)");
//=> true
Get bots list:
const bots = require("amibot/bots");
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
amibot © egoist, Released under the MIT License. Authored and maintained by egoist with help from contributors (list).
github.com/egoist · GitHub @egoist · Twitter @_egoistlily