Maps a stack frame to a sourcemap.
npm install stack-frame-mapperstack-frame-mapperMaps a stack frame to a sourcemap.
Enhances a set of StackFrames with their original positions and code (when available).
Parameters
- frames Array<StackFrame> A set of StackFrames which contain (generated) code positions.
- contextLines number? Optional. The number of lines to provide before and after the line specified in the StackFrame. (optional, default 3)