source-map-resolver

1.1.2 • Public • Published

source-map-resolver

Easily decode stack traces generated from minified sources

Install

npm install source-map-resolver

Usage

let sourceMapResolve = require('source-map-resolver');
 
// stacktraceString is string, generated from new Error().stack
sourceMapResolve('./javascripts/application-2f037b638c.js.map', stacktraceString)
  .then(resolvedStack => {
    // resolvedStack is a string with frames referencing
    // application-2f037b638c.js resolved to the original sources
  });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    71
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    71
  • 1.1.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i source-map-resolver

Weekly Downloads

63

Version

1.1.2

License

MIT

Last publish

Collaborators

  • rush