zeroclickinfo-goodies icon indicating copy to clipboard operation
zeroclickinfo-goodies copied to clipboard

JavaScript and JSON Minifier: Better function to minify script

Open amarlearning opened this issue 8 years ago • 1 comments

JavaScirpt File : this Character Count : 1354

Now I minified the above JavaScript File using these two tools:

  1. JavaScript Minifier DuckDuckGo Character count of minified script is: 1141

  2. Other JavaScript Minifier Character count of minified script is: 790

For counting character, I used this tool

The other JavaScript Minifier that I used offers API as well. Let me know what you think about this.


IA Page: http://duck.co/ia/view/js_minify Maintainer: @sahildua2305

amarlearning avatar Jan 06 '17 17:01 amarlearning

@amarlearning thanks a lot for suggesting an apparently better solution. However, one important aspect to consider will be the size of the library. Oh wait, do they even provide a library which you can easily load and do the minify stuff?

If it's just an API, then we can't really have an interactive IA like the one we have right now. Let me know what you find out after digging in deeper. I'd be happy to discuss the possibilities. 😃

sahildua2305 avatar Jan 09 '17 14:01 sahildua2305