JS Unpacker

Recover uncompiled TypeScript sources, JSX, and more from Webpack sourcemaps. This program was heavily inspired by rarecoil/unwebpack-sourcemap.

go install github.com/webklex/juck

Usage

Usage of juck:
  --file      string  Target sourcemap file path
  --file-list string  File path of a file containing a list of target source map file paths
  --url       string  Target sourcemap url
  --url-list  string  File path of a file containing a list of target source map urls
  --output    string  Directory to output from sourcemap to (default "./output")
  --combined          Combine all source files into one
  --disable-ssl       Don't verify the site's SSL certificate
  --no-color          Disable color output
  --version           Show version and exit
  --dangerously-write-paths  Write full paths. WARNING: Be careful here, you are pulling directories from an untrusted source

Example:

./juck --file ./source.js.map

Build

git clone https://github.com/webklex/juck
cd juck
go build

..or:

git clone https://github.com/webklex/juck
cd juck
./build.sh

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

GitHub

View Github