@morioh/is-bot
v1.1.2
Published
Detect user-agent is a bot/spider/crawler
Downloads
131
Readme
Detect user-agent is a bot/spider/crawler
// const { isBot } = require('@morioh/is-bot');
const isBot = require('@morioh/is-bot');
console.log(isBot('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'));
// return true