https://github.com/puntorigen/recover-source
Light up your lost JS/TS source code with Recover-Source! 🚀 This handy CLI tool recovers and revives your original source code from a directory packed with minified/uglified .js or .ts files, including their respective sourcemap files. Reveal the original beauty of your code, just as it was before the compilation process. Happy code hunting! 🕵️♂
https://github.com/puntorigen/recover-source
cli javascript minified nodejs opensource recovery refactoring sourcecode sourcemaps sourcerecovery typescript webtools
Last synced: 7 months ago
JSON representation
Light up your lost JS/TS source code with Recover-Source! 🚀 This handy CLI tool recovers and revives your original source code from a directory packed with minified/uglified .js or .ts files, including their respective sourcemap files. Reveal the original beauty of your code, just as it was before the compilation process. Happy code hunting! 🕵️♂
- Host: GitHub
- URL: https://github.com/puntorigen/recover-source
- Owner: puntorigen
- Created: 2023-08-02T19:28:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T15:22:40.000Z (over 1 year ago)
- Last Synced: 2024-11-08T12:50:52.646Z (7 months ago)
- Topics: cli, javascript, minified, nodejs, opensource, recovery, refactoring, sourcecode, sourcemaps, sourcerecovery, typescript, webtools
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 13
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recover-Source :mag_right: :bulb:
Recover-source is a powerful CLI tool that brings your JS/TS source code back to life :sparkles:. Given a directory with minified/uglified .js or .ts files along with their respective source map files, recover-source revives the original files as they were before compilation. Turn the unreadable into the understandable!
## Installation :wrench:
```bash
npm i recover-source -g
```And that's it! Recover-source is ready for action :rocket:!
## Usage :video_game:
To use recover-source, simply provide it with a directoy containing minified files:
```bash
recover-source -i
```... and watch as the original source code springs back into existence!
For more information and a step-by-step guide, check out the full tutorial here: Reconstructing JavaScript Source Code from Source Maps
Happy code recovery! :tada: