# convert-sourcemap-stacktrace **Repository Path**: mirrors_JaneaSystems/convert-sourcemap-stacktrace ## Basic Information - **Project Name**: convert-sourcemap-stacktrace - **Description**: Converts a stacktrace using a sourcemap. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-11-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # convert-sourcemap-stacktrace Uses a source map to convert a stack trace from running bundled / minified JavaScript code into the original stack trace. ## Install ``` yarn add -D convert-sourcemap-stacktrace ``` ## Usage - Copy `main.bundle.js.map` somewhere. - Create a `stacktrace.txt` file containing the stack trace to convert. - Run the `convert-sourcemap-stacktrace` script: ``` yarn convert-sourcemap-stacktrace --stack path/to/stacktrace.txt --source-map path/to/main.bundle.js.map ``` - If the bundle / minified file has another name: ``` yarn convert-sourcemap-stacktrace --bundle-name {your_bundle_name} --stack path/to/stacktrace.txt --source-map path/to/{your_bundle_name} ``` - For more information: ``` yarn convert-sourcemap-stacktrace --help ```