#source-map #maps #javascript #generated #rewrite #webpack #unsource

app unsourcemap

A tool to unsource JavaScript source maps

1 unstable release

new 0.2.1 Mar 20, 2025

#44 in #source-map

49 downloads per month

Unlicense

12KB
192 lines

unsourcemap

Rewrite of unwebpack-sourcemap in Rust. Recovers source files from sourcemaps generated from webpack, writing them into the specified directory.

Usage

Usage: unsourcemap.exe [OPTIONS]

Options:
  -f, --file-path <FILE_PATH>    Path to source map file (optional)
  -S, --save-path <SAVE_PATH>    Path to the location to save to (optional)
  -s, --source-map <SOURCE_MAP>  Source map content as a string (optional)
  -u, --url <URL>                URL of source map (optional)
  -h, --help                     Print help
  -V, --version                  Print version

Dependencies

~1.8–2.9MB
~54K SLoC