@romainmuller/source-mapper

A tool that helps mapping source locations


Keywords
node, source-map, tool
License
Apache-2.0
Install
npm install @romainmuller/source-mapper@0.0.18

Documentation

source-mapper

Validation Build Test Coverage

As the maintainer of typescript projects (and other source-map enabled software), bug reports often contain stack traces that contain pointers within the compiled code, not in the source code.

This tool helps make debugging such cases easier by providing a simple tool to map the compiled pointer to a source pointer:

$ source-mapper /path/to/file.js:15:30
/path/to/file.ts:12:15

This tool supports inline source maps.