source-lookup

0.1.0 • Public • Published

source-lookup

Post-mortem analysis of minified JavaScript

When you observe a production problem without having deployed source-maps, you will only have access to source coordinates within the minified bundle (line, column). Point this script to your source-map to find out the corresponding source location.

Installation

You can install source-lookup globally:

> npm install -g source-lookup

Usage

Get the original position for bundle line 23, column 5:

> source-lookup 23:5 path/to/bundle.js.map
Source file: path/to/my-source.js
Source position: 5:0

Readme

Keywords

none

Package Sidebar

Install

npm i source-lookup

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • x1b