# BetterJS/badjs-report

monitor error and report

Repository: https://github.com/BetterJS/badjs-report
Canonical: https://ross.abutalabs.com/products/badjs-report
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2018-11-30T07:17:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4310, "days_push": 2833, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1135, forks 187 (observed 2026-08-28T04:03:43.321005+00:00)

## What it is
badjs-report is a JavaScript library that captures frontend JS errors by overriding window.onerror and reports them to a backend endpoint, with sampling, deduplication, offline logs, and manual reporting APIs. It is a client-side error monitoring and log reporting tool for web pages.

## Use cases
- monitor javascript errors on a web page
- report frontend exceptions to a server
- capture uncaught errors via window.onerror
- collect offline browser logs for debugging
- sample and dedupe repeated frontend error reports
- track user-side js errors in production

## When to choose
- you need lightweight client-side JS error capture and reporting in a legacy browser environment
- you want offline log buffering and manual error reporting hooks
- you need a simple drop-in onerror-based reporter with sampling and repeat suppression

## When to avoid
- you need an actively maintained solution - the project has had no releases since 2018
- you need a full frontend monitoring platform with performance metrics and dashboards
- you use modern frameworks where Sentry or similar SDKs offer richer integrations

## Facets
- artifact type: library
- maturity: abandoned
- function: monitoring, logging, error-handling
- domain: frontend, web-development, monitoring, developer-tools
- platform: browser
- tags: frontend-error-monitoring, js-error-reporting, window-onerror, offline-logs, client-side-logging, javascript

## Member repositories
- BetterJS/badjs-report (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.321005+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:36:34.374648+00:00, confidence not recorded.
  - readme: https://github.com/BetterJS/badjs-report (fetched 2026-08-28T04:03:43.321005+00:00, sha 5637eefea3cc)
  - registry_npm: https://registry.npmjs.org/badjs-report (fetched 2026-08-29T12:41:42.552007+00:00, sha 70ebb13d6945)
- Data as of 2026-08-30T08:39:29.467469+00:00.
