https://github.com/limscoder/srcmapit
Command line utility for decoding original javascript source code position from transformed target position.
https://github.com/limscoder/srcmapit
Last synced: about 1 year ago
JSON representation
Command line utility for decoding original javascript source code position from transformed target position.
- Host: GitHub
- URL: https://github.com/limscoder/srcmapit
- Owner: limscoder
- Created: 2018-10-03T16:40:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T20:15:32.000Z (almost 4 years ago)
- Last Synced: 2024-04-26T01:20:48.495Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# srcmapit
Command line utility for decoding original javascript source code position from transformed target position.
Useful when your logging system records stack traces with minimized/transformed code positions.
Uses Mozilla's awesome [source-map library](https://github.com/mozilla/source-map).
## usage
```bash
npm install -g srcmapit
```
```text
Usage: srcmapit [target]
Decode original javascript source code position from transformed target position.
[target] takes the form of: "{url}:{line#}:{column#}"
[target] example: "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js:2:10"
```