# omrilotan/isbot

🤖/👨‍🦰 Detect bots/crawlers/spiders using the user agent string

Repository: https://github.com/omrilotan/isbot
Canonical: https://ross.abutalabs.com/products/isbot
Homepage: https://isbot.js.org/
Language: TypeScript
License: Unlicense
License Family: permissive
Topics: user-agent-analysis, user-agent, user-agent-parser, crawlers, web-crawlers
Last push: 2026-08-19T21:57:07+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 4058, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1159, forks 86 (observed 2026-08-28T04:03:48.657267+00:00)

## What it is
isbot is a lightweight TypeScript library that identifies bots, crawlers, and spiders by matching user agent strings against a maintained regular expression pattern. It ships as an npm package usable in Node.js, browsers, and edge runtimes, with helpers for extracting matched patterns.

## Use cases
- detect bot traffic in express middleware
- check if a user agent is a crawler
- filter out spiders from analytics page views
- identify googlebot requests in node http server
- exclude bots from server-side rendering or prerendering
- parse user agent strings to detect automated clients

## When to choose
- you need a tiny, dependency-free bot detection check in JavaScript or TypeScript
- you want a maintained, regularly updated user agent pattern list
- you need it to run in browser, Node, or edge environments

## When to avoid
- you need full user agent parsing with browser, OS, and device details
- you need behavioral bot detection beyond static user agent matching
- you work outside the JavaScript ecosystem

## Facets
- artifact type: library
- maturity: active
- function: parser, http-server, middleware
- domain: web-development, analytics, security, developer-tools
- platform: browser, cross-platform
- tags: user-agent, bot-detection, crawler-detection, typescript, npm-package, nodejs, web-server

## Member repositories
- omrilotan/isbot (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.657267+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:54.805161+00:00, confidence not recorded.
  - readme: https://github.com/omrilotan/isbot (fetched 2026-08-28T04:03:48.657267+00:00, sha de2ec105bbab)
  - homepage: https://isbot.js.org/ (fetched 2026-08-29T12:36:53.517312+00:00, sha eccf036ff7cc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
