CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-isbot

Recognise bots/crawlers/spiders using the user agent string.

82

0.94x
Overview
Eval results
Files

Evaluation results

100%

Bot Match Analyzer

User agent match and pattern introspection helpers

Criteria
Without context
With context

isbot boolean

100%

100%

first match

100%

100%

all matches

100%

100%

first pattern

100%

100%

all patterns

100%

100%

69%

-18%

Bot Traffic Segmentation

Bot detection via compiled regex

Criteria
Without context
With context

Primary detection

85%

85%

Match detail

75%

25%

Pattern overrides

100%

66%

Regex export

100%

100%

Detector consistency

70%

40%

100%

Bot Classification with Legacy Regex Fallback

Automatic fallback when advanced regex features are unsupported

Criteria
Without context
With context

Default path

100%

100%

Fallback usage

100%

100%

Engine labels

100%

100%

Null safety

100%

100%

Batch summary

100%

100%

50%

3%

Bot Classification with Fallback

Naive bot detection heuristic fallback

Criteria
Without context
With context

Primary detection

0%

20%

Naive fallback

57%

57%

Fallback trigger

100%

100%

No custom regex

0%

0%

Nullish safety

80%

66%

67%

-13%

Custom Bot Detector

Custom detectors from modified pattern lists

Criteria
Without context
With context

Base list usage

100%

100%

Custom detector build

66%

66%

Pattern reporting

50%

0%

Null-safe handling

100%

80%

Pattern exposure

100%

100%

100%

5%

Custom Bot Detector Utility

Custom detectors from custom regex

Criteria
Without context
With context

createIsbot use

100%

100%

RegExp passthrough

100%

100%

String regex compile

66%

100%

List-based builder

100%

100%

Falsy input safety

100%

100%

90%

-10%

Bot Pattern Explorer

Access compiled bot regex and identifier list

Criteria
Without context
With context

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
Evaluated
Agent
Claude Code

Table of Contents