# stacktracejs/stacktrace.js

Generate, parse, and enhance JavaScript stack traces in all web browsers

Repository: https://github.com/stacktracejs/stacktrace.js
Canonical: https://ross.abutalabs.com/products/stacktracejs
Homepage: https://www.stacktracejs.com/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, error-handling, stacktracejs
Last push: 2022-06-06T00:40:58+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6069, "days_push": 1550, "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 4001, forks 277 (observed 2026-08-28T04:08:32.057033+00:00)

## What it is
A JavaScript library that generates, parses, and enhances stack traces in all web browsers using the Error.stack mechanism. It resolves source maps and returns structured StackFrame objects via Promises.

## Use cases
- capture javascript stack traces in the browser
- parse error stack traces into structured frames
- map minified stack traces back to source with source maps
- hook into window.onerror to collect error details
- debug javascript errors across browsers

## When to choose
- you need cross-browser stack trace parsing and normalization
- you want source-map resolution for minified code stack traces
- you are building client-side error reporting or monitoring

## When to avoid
- you need server-side Node.js stack trace handling
- you want a full error-monitoring SaaS rather than a parsing library
- the project needs actively maintained dependencies, as releases are infrequent

## Facets
- artifact type: library
- maturity: maintenance
- function: error-handling, developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: stack-trace, source-maps, javascript, error-reporting

## Member repositories
- stacktracejs/stacktrace.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.057033+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-29T18:24:08.409033+00:00, confidence not recorded.
  - readme: https://github.com/stacktracejs/stacktrace.js (fetched 2026-08-28T04:08:32.057033+00:00, sha d415c5ff5bb8)
  - homepage: https://www.stacktracejs.com/ (fetched 2026-08-29T09:17:30.495352+00:00, sha e60c7b929adc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
