stack-frame-unmapper

0.4.0 • Public • Published

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? 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>>

Readme

Keywords

none

Package Sidebar

Install

npm i stack-frame-unmapper

Weekly Downloads

23

Version

0.4.0

License

MIT

Last publish

Collaborators

  • timer