JSPM

parse-captured-stack

5.0.0-dev
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 39
  • Score
    100M100P100Q71290F
  • License MIT

Wrappers around established stack-parsing libraries

Package Exports

  • parse-captured-stack
  • parse-captured-stack/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (parse-captured-stack) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Parse stack traces

Wrappers around established stack-parsing libraries.

Installation

npm i parse-captured-stack

Usage

Capture stacks

  • Stacks are captured in the runtime they occur in, producing a CapturedStack object. Use the function @jawis/jab#captureStack to do this.

Parse general errors

Stacks captured in unknown location can be parsed for presentation.

  • parseTrace

Parse browser errors

They can be source mapped, if they are presented in the same browser, as they are captured. Because then the source map will be cached in the browser and it will match the source code.

  • parseTraceAndSourceMap

Known issues

The libraries used for parsing stacks:

License

MIT