Recognise bots/crawlers/spiders using the user agent string.
82
User agent match and pattern introspection helpers
isbot boolean
100%
100%
first match
100%
100%
all matches
100%
100%
first pattern
100%
100%
all patterns
100%
100%
Bot detection via compiled regex
Primary detection
85%
85%
Match detail
75%
25%
Pattern overrides
100%
66%
Regex export
100%
100%
Detector consistency
70%
40%
Automatic fallback when advanced regex features are unsupported
Default path
100%
100%
Fallback usage
100%
100%
Engine labels
100%
100%
Null safety
100%
100%
Batch summary
100%
100%
Naive bot detection heuristic fallback
Primary detection
0%
20%
Naive fallback
57%
57%
Fallback trigger
100%
100%
No custom regex
0%
0%
Nullish safety
80%
66%
Custom detectors from modified pattern lists
Base list usage
100%
100%
Custom detector build
66%
66%
Pattern reporting
50%
0%
Null-safe handling
100%
80%
Pattern exposure
100%
100%
Custom detectors from custom regex
createIsbot use
100%
100%
RegExp passthrough
100%
100%
String regex compile
66%
100%
List-based builder
100%
100%
Falsy input safety
100%
100%
Access compiled bot regex and identifier list
Pattern retrieval
100%
100%
Identifier list
100%
100%
Pattern-based match
100%
100%
Source echo
100%
100%
Match fragments
100%
33%
Install with Tessl CLI
npx tessl i tessl/npm-isbot