awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
stacktracejs avatar

stacktracejs/stacktrace.js

0
View on GitHub↗
4,005 stars·279 forks·JavaScript·MIT·12 viewswww.stacktracejs.com↗

Stacktrace.js

stacktrace.js is a JavaScript library designed for generating and parsing detailed function call stacks from error objects across different web browsers. It functions as a stack trace parser and error instrumentation utility that captures execution flow and error traces.

The project differentiates itself through its ability to resolve source maps, translating minified JavaScript stack traces back to original source lines. It also includes a remote error reporter for transmitting processed exception data and stack traces to a centralized server for analysis.

The library covers broad capability areas including error trace extraction, structured trace generation, and function call instrumentation. It utilizes environment-specific parsing to normalize diverse browser error formats into a uniform object model.

Features

  • JavaScript Error Trackers - Captures and analyzes function call stacks to identify the exact location of JavaScript errors in the browser.
  • Stack Trace Capture - Generates detailed lists of function calls from error objects or specific execution points.
  • Source Map Resolution - Translates minified line and column numbers back to original source code using external mapping files.
  • Stack Trace Libraries - Provides a comprehensive library for generating and parsing detailed function call stacks from error objects.
  • Function Wrapping Instrumentation - Provides a utility for wrapping functions to automatically capture and report execution flow and error traces.
  • Uniform Error Objects - Converts diverse browser error formats into a uniform object model for consistent analysis.
  • Client-Side Error Posting - Collects detailed error traces from user browsers and transmits them to a remote server for analysis.
  • Source Map Resolution - Translates minified JavaScript stack traces back to original source lines using source map files.
  • Stack Trace Generation - Captures the current function call stack and utilizes source maps to resolve minified code.
  • Error Trace Extraction - Converts standard error objects into structured call lists to analyze exception locations.
  • Browser Engine Parsers - Implements different parsing logic to handle varying stack trace formats across different browser engines.
  • Code Execution Profilers - Tracks function call sequences and execution flows to analyze how specific code is being invoked.
  • Regex-Based Output Parsing - Uses regular expressions to extract structured call data from raw browser error strings.
  • Higher-Order Function Wrapping - Wraps target functions in a proxy to intercept calls and trigger stack capture during execution.
  • Remote Stack Trace Transmission - Serializes processed stack data for transmission to a centralized debugging server.
  • Error Reporting - Sends processed JavaScript stack traces and exception data to a remote server for debugging.
  • Runtime Function Instrumentation - Wraps target functions to automatically capture and process a stack trace upon every invocation.

Star history

Star history chart for stacktracejs/stacktrace.jsStar history chart for stacktracejs/stacktrace.js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does stacktracejs/stacktrace.js do?

stacktrace.js is a JavaScript library designed for generating and parsing detailed function call stacks from error objects across different web browsers. It functions as a stack trace parser and error instrumentation utility that captures execution flow and error traces.

What are the main features of stacktracejs/stacktrace.js?

The main features of stacktracejs/stacktrace.js are: JavaScript Error Trackers, Stack Trace Capture, Source Map Resolution, Stack Trace Libraries, Function Wrapping Instrumentation, Uniform Error Objects, Client-Side Error Posting, Stack Trace Generation.

What are some open-source alternatives to stacktracejs/stacktrace.js?

Open-source alternatives to stacktracejs/stacktrace.js include: bombela/backward-cpp — backward-cpp is a C++ stack trace library and debugging utility designed to capture, resolve, and print detailed… a597873885/webfunny_monitor — webfunny_monitor is an open-source frontend monitoring and analytics platform that tracks page load performance,… getsentry/sentry-javascript — This project is a JavaScript error tracking SDK and application performance monitoring tool. It captures runtime… betterjs/badjs-report — Badjs-report is a client-side JavaScript library designed to capture, manage, and report runtime exceptions and… nswbmw/node-in-debugging — This project is a comprehensive technical guide and diagnostic manual for analyzing memory, performance, and… uptrace/uptrace — Uptrace is an OpenTelemetry-based observability platform designed to collect, store, and analyze distributed traces,…

Open-source alternatives to Stacktrace.js

Similar open-source projects, ranked by how many features they share with Stacktrace.js.
  • bombela/backward-cppbombela avatar

    bombela/backward-cpp

    4,285View on GitHub↗

    backward-cpp is a C++ stack trace library and debugging utility designed to capture, resolve, and print detailed execution traces and crash reports. It functions as a crash reporter and call stack printer that translates raw memory addresses into human-readable function names, filenames, and line numbers. The project provides automated crash reporting by registering system handlers for fatal errors, such as segmentation faults, to automatically generate execution traces upon program failure. It distinguishes itself by extracting source file fragments from disk to display specific lines of cod

    C++
    View on GitHub↗4,285
  • a597873885/webfunny_monitora597873885 avatar

    a597873885/webfunny_monitor

    5,298View on GitHub↗

    webfunny_monitor is an open-source frontend monitoring and analytics platform that tracks page load performance, JavaScript errors, and user behavior. It serves as a comprehensive tool for measuring page load speed, API response times, client-side errors, and custom user events, with real-time dashboards that stream aggregated metrics via WebSocket for sub-second updates. The project distinguishes itself through its architectural approach: events are collected asynchronously via lightweight HTTP beacons and batched before transmission, while a memory-bounded local storage buffer ensures relia

    JavaScriptburying-pointfront-end-monitorfrontend-monitoring
    View on GitHub↗5,298
  • getsentry/sentry-javascriptgetsentry avatar

    getsentry/sentry-javascript

    8,693View on GitHub↗

    This project is a JavaScript error tracking SDK and application performance monitoring tool. It captures runtime exceptions and crashes across web browsers, server-side environments, and edge computing contexts. The SDK includes a session replay tool that records visual user interactions to reproduce bugs. To ensure telemetry delivery, it provides a tunneling proxy that routes monitoring data through custom endpoints to bypass browser-level ad blockers. The toolkit also features a source map processor that translates minified stack traces back into original source code. Additionally, it cove

    TypeScriptangularcrash-reportingember
    View on GitHub↗8,693
  • betterjs/badjs-reportBetterJS avatar

    BetterJS/badjs-report

    1,135View on GitHub↗

    Badjs-report is a client-side JavaScript library designed to capture, manage, and report runtime exceptions and telemetry data from web applications to a remote server. It functions as a diagnostic framework that automatically intercepts global errors and wraps asynchronous operations to ensure that issues are tracked without requiring manual instrumentation throughout the codebase. The library distinguishes itself through its focus on traffic optimization and data reliability. It employs deduplication logic to suppress redundant error reports and applies probabilistic sampling to manage the

    JavaScript
    View on GitHub↗1,135
  • See all 30 alternatives to Stacktrace.js→