0.0.3 • Published 2 years ago
parse-captured-stack v0.0.3
Parse stack traces
Wrappers around established stack-parsing libraries.
Installation
npm i parse-captured-stackUsage
Capture stacks
- Stacks are captured in the runtime they occur in, producing a
CapturedStackobject. Use the function@jawis/jab#captureStackto 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
Related work
The libraries used for parsing stacks:
License
MIT