Checks if the current client is likely a bot, crawler, or automated agent. This is a heuristic check and may not catch all bots or may have false positives.
True if likely a bot, false otherwise
import { isLikelyBot } from '@consumidor-positivo/ts-utils';if (isLikelyBot()) { console.log('Request from a bot or crawler');} Copy
import { isLikelyBot } from '@consumidor-positivo/ts-utils';if (isLikelyBot()) { console.log('Request from a bot or crawler');}
Checks if the current client is likely a bot, crawler, or automated agent. This is a heuristic check and may not catch all bots or may have false positives.