# csnover/TraceKit

Attempts to create stack traces for unhandled JavaScript exceptions in all major browsers.

Repository: https://github.com/csnover/TraceKit
Canonical: https://ross.abutalabs.com/products/tracekit
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-03T20:56:45+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 40, longevity 100
- inputs: {"age_days": 5929, "days_push": 30, "days_rel": 187, "gap_med": 262.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1069, forks 162 (observed 2026-08-28T04:03:27.830415+00:00)

## What it is
TraceKit is a small JavaScript library that extracts and normalizes stack traces from unhandled exceptions across all major browsers, including legacy ones like IE6. It lets developers subscribe to error reports and forward them to logging or monitoring services.

## Use cases
- capture stack traces from unhandled javascript errors
- normalize error reports across different browsers
- send client-side exception reports to a server
- get stack traces in browsers that don't support error.stack
- subscribe to global window.onerror events
- log javascript errors in legacy browsers like IE6

## When to choose
- you need cross-browser error stack trace normalization in a legacy codebase
- you're building your own client-side error reporting pipeline
- you must support old browsers without native stack trace support

## When to avoid
- you use a full error monitoring service like Sentry that already includes this functionality
- you only target modern browsers with reliable Error.stack support
- you need source map resolution or advanced error aggregation

## Facets
- artifact type: library
- maturity: maintenance
- function: error-handling, logging, developer-tools
- domain: web-development, frontend, developer-tools, monitoring
- platform: browser
- tags: stack-traces, error-reporting, cross-browser, exception-handling, window-onerror, javascript

## Member repositories
- csnover/TraceKit (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.830415+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:54:25.693345+00:00, confidence not recorded.
  - readme: https://github.com/csnover/TraceKit (fetched 2026-08-28T04:03:27.830415+00:00, sha efd27cb8593c)
  - registry_npm: https://registry.npmjs.org/tracekit (fetched 2026-08-29T12:56:31.306860+00:00, sha 7d6d5586dade)
- Data as of 2026-08-30T08:39:29.467469+00:00.
