Reputation: 4013
I had an old project that had been uglified using gulp-uglify. I need to work on that project now.
How do I bring it back to normal readable js?
Upvotes: 1
Views: 843
Reputation: 907
This is an old question, but still. Here is a working solution for making uglified js back to human readable: https://github.com/jehna/humanify
Upvotes: 0
Reputation: 8856
You cannot "reverse" uglified code. It's a one-way process. The best you can achieve is to beautify the code (indentation and other cosmetic fixes) but you cannot restore the original variable names.
Upvotes: 1