Skip to content

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! 🕵️‍♂

Notifications You must be signed in to change notification settings

puntorigen/recover-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recover-Source 🔎 💡

Recover-source is a powerful CLI tool that brings your JS/TS source code back to life ✨. 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 🔧

npm i recover-source -g

You can also use this program via npx (packaged with NodeJS):

npx recover-source -i  <path-to-directory-with-minified-files>

And that's it! Recover-source is ready for action 🚀!

Usage 🎮

To use recover-source, simply provide it with a directory containing minified files:

recover-source -i <path-to-directory-with-minified-files>

... 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! 🎉

About

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! 🕵️‍♂

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •