Hacker News new | ask | show | jobs
by chvid 123 days ago
Cool that you could keep it under 2k but it would nice to have a readable version of the source code.

Do you work with it like this or do you have some sort of script you apply to get it down to a single line, single letter variable names?

3 comments

a readable version seems to have just been added! https://github.com/datavorous/sameshi/tree/master/readable
What you’re describing is the typical output / function of a minifier
The real fun would be reverse-engineering the minified code (there are loads of tools to do this for chrome extensions)
not lossless