Skip to content

Javascript minified decoder based on Mozilla source-map library

License

Notifications You must be signed in to change notification settings

pastcompute/ScriptMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScriptMapper

This is a Javascript minified decoder based on the Mozilla source-map library.

I needed something quick & simple for debugging browser Javascript errors in minified code for cases where I don't want to use the debugger. This is particularly useful for post-mortem debugging from a console log output provided by an end user.

  1. Go to https://pastcompute.github.io/ScriptMapper/
  2. Copy/Paste the full content of a map file into the text area
  3. Enter the line & column
  4. Hit Search

Alternatively, hit Dump to get a list of all mappings in the map file.

Build

npm i
npx grunt publish

TODO

  • Drag and drop mapfile
  • Enter & load a mapfile from a URL
  • Hyperlink from the results to the full dump or source code

About

Javascript minified decoder based on Mozilla source-map library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published