

Yeah no worries, it’s only on version 0.2 right now 😃 Will focus more on Node. Choose HTML Tidy if the default Minify library causes strange behavior on your website. The minification consists of removing all trailing whitespaces and empty spaces, all optional tags, slashes, redundant code, comments, and collapse the lines. More like, for example, jQuery creators do with. What do I mean with 'minify' Not zipping.
#Minify html code#
If you have javascript code written directly in. My idea is to somehow minify HTML code in server-side, so client receive less bytes. There is also the option to not compress the head of the HTML document. Replacing double spaces with single spaces. Good point, will look to add this feature right now it’s mostly a pure HTML minifier.īut still - cool work! Right now I would like wait until it becomes a little bit more mature 😃 I hope you understand that This online HTML compression tool will save space in your HTML files and make them much smaller by doing the following: Removing text line breaks from the code. If I read it correct it has trouble parsing invalid markup would probably break a lot of people’s build which generate templates for e.g.

Legacy decision, as it started off being a preprocessor as well for HTML files. I was also wondering why you didn’t give the module a name which is easier to understand on first glance e.g.
#Minify html install#
I will probably revert to using online platform-specific downloads at install time like what esbuild does. Good point, unfortunately this is due to Neon’s lack of support for N-API so far, so builds have to be included for each Node.js version and platform. So if the download takes slightly longer but the processing is slightly faster it might not help much. To uncompress or format code, paste all of the compressed code into the editor and press the unminify button to get your formatted code instantly. Most CI-CDs use caching but there are still a lot of them which will download your package on every run. Minify all is a free online tool for unminifying JavaScript/CSS/HTML code and making it more readable and visually appealing. That would be 57.500 TerraByte on top if we go for your plugin. The html-webpack-plugin was downloaded 250.000.000 times last year. Thanks for the reply, and great points 😄
