0.4.0 • Published 7 years ago

stack-frame-unmapper v0.4.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

stack-frame-unmapper

Unmaps a stack frame.

API

unmap

Turns a set of mapped StackFrames back into their generated code position and enhances them with code.

Parameters

  • fileUri string The URI of the bundle.js file.
  • frames Array<StackFrame> A set of StackFrames which are already mapped and missing their generated positions.
  • fileContents number? Optional. The number of lines to provide before and after the line specified in the StackFrame. (optional, default 3)
  • contextLines number? (optional, default 3)

Returns Promise<Array<StackFrame>>