$ gnpm install stack-frame-mapper
stack-frame-mapper
Maps a stack frame to a sourcemap.
Enhances a set of StackFrame
s with their original positions and code (when available).
Parameters
frames
Array<StackFrame> A set of StackFrame
s 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
)Returns Promise<Array<StackFrame>>
Copyright 2013 - present © cnpmjs.org | Home |