modulepackage
0.0.0-20220915072810-d8bd92822125
Repository: https://github.com/orsinium-labs/sourcemap.git
Documentation: pkg.go.dev
# 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:
- An Introduction to Source Maps by Treehouse.
- Use a source map by MDN.
- Map Preprocessed Code to Source Code by Chrome.
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
# Structs
No description provided by the author
No description provided by the author
TaskMaps consumes source maps URLs and saves them into _sources.txt file.
TaskMaps consumes source maps URLs and extracts them into the file system.
TaskPages consumes HTML and extracts JS scripts URLs.
TaskScripts consumes JS scripts and extracts source map URLs.
# Interfaces
No description provided by the author