stack-frame-mapper
Maps a stack frame to a sourcemap.
API
map
Enhances a set of StackFrame
s with their original positions and code (when available).
Parameters
-
frames
Array<StackFrame> A set ofStackFrame
s which contain (generated) code positions. -
contextLines
number? The number of lines to provide before and after the line specified in theStackFrame
. (optional, default3
)