sourcemap

command module
v0.0.0-...-af0288e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 16 Imported by: 0

README

sourcemap

Some tools that generate JS code produce "source maps". Source maps allow to restore the original source code from the minified ugly one. You can read more here:

This tool finds source maps on the given webpage and restores the application source code from it.

Build

git clone https://github.com/orsinium-labs/sourcemap.git
cd sourcemap
go build -o sourcemap .

Use

Feed URLs into stdin:

echo "https://orsinium.dev/" | ./sourcemap --output=./sources

Docker

docker build -t sourcemap:latest .
echo "https://www.example.com" | docker run -v $(PWD)/sources:/sources -i --rm sourcemap:latest

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL