@casual-simulation/stacktrace

A stacktrace parser

Usage no npm install needed!

<script type="module">
  import casualSimulationStacktrace from 'https://cdn.skypack.dev/@casual-simulation/stacktrace';
</script>

README

Stacktrace

npm (scoped)

A library to help with parsing stack traces from browser/node exceptions.

Forked from Sentry.io's tracekit.ts which in turn was forked from the Tracekit repository.

Why did we fork it? Well, we wanted a well-tested cross-browser stacktrace parser and figured that the Sentry.io parser was our best candidate. We forked it since there wasn't a package for it. An alternative would be to use the error-stack-parser package but there seem to be a couple issues around supporting anonymous functions and such.

Installation

npm install @casual-simulation/stacktrace