Good to know
- This web app is a front-end for an open source npm library, html-crush.
- Here are differences between html-crush and a popular Kangax html-minifier:
|html-crush by Codsen||Kangax html-minifier|
|Typical market||Email templates||Web pages|
|Strengths||Can minify HTML mixed with anything||Compresses to the maximum|
|Weaknesses||Can't detect if an input code is broken||Overwhelming amount of options, some of them risky|
|Priority||Mixed or dirty sources support at the expense of maximum compression||Maximum compression at the expense of mixed or dirty sources support|
|When the input contains a code error...||Minifier will not complain about it and minify it||Minifier will throw an error, and you will not get any result at all|
Is the code I paste into this application safe?
Yes, because there is no back-end — your code never leaves your browser. This application is a bunch of static HTML, CSS and JS files, served through a secure HTTPS connection. Feel free to inspect the sources.
What framework is this website using?
We use vanilla JS, Markdown, Gulp and Nunjucks to generate a static file structure.
Why are you not using Svelte/React/VueJs/Angular here?
Because we don't need a framework for a framework's sake.
How did you achieve the "loading" and why is UI responsive even while the result is being calculated?
We spin up a web worker on a separate thread.
How does this website "remember" all the settings and input even after closing and reopening the browser window?
We save all settings, toggles and input content on local storage,
Are there any guarantees about this web application?
While we took utmost care to ensure there are no bugs, we can't guarantee anything: correctness, availability or whatever.
I want to report a bug, what do I do?
If it's an issue with this website, email firstname.lastname@example.org.
If it's an API problem (calculations are wrong), ideally, raise an issue directly on html-crush issues page on our monorepo at GitLab.
Why is the html-crush library not on GitHub?
Because it's on GitLab.
Who is the owner of this website?