Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motiz88/source-map-dev-tool
Yet another tool for inspecting source map data.
https://github.com/motiz88/source-map-dev-tool
Last synced: about 1 month ago
JSON representation
Yet another tool for inspecting source map data.
- Host: GitHub
- URL: https://github.com/motiz88/source-map-dev-tool
- Owner: motiz88
- License: mit
- Created: 2019-03-30T15:11:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T12:54:10.000Z (8 months ago)
- Last Synced: 2024-04-17T04:01:27.196Z (7 months ago)
- Language: JavaScript
- Homepage: https://source-map-dev-tool.netlify.com/
- Size: 418 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# source-map-dev-tool
Yet another tool for inspecting [source map](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#) data.
## Why?
Programs that generate/consume source maps often internally convert line and column numbers between different conventions. All of these exist in the wild, sometimes all in the same toolchain:
- 0-based lines, 0-based columns
- 1-based lines, 0-based columns
- 1-based lines, 1-based columns(I haven't seen 0-based lines and 1-based columns yet, though.)
Such conversions are prone to off-by-one errors. This tool is specifically aimed at debugging those, by letting the user set the numbering convention interactively.