Answer the question
In order to leave comments, you need to log in
How to minify html using cheerio?
Is there any tweak or proven way to get minified html from cheerio?
From the documentation I did not find a normal description of the parameters (only referrals), I did not see anything suitable from those described. Writing a regular expression seems to be a rather unreliable task due to the specifics of html, and in general, this seems to be the thing that the parser can do quickly and conveniently.
I did not find anything sensible in Google for cheerio minify html requests. No one says "no", but instead of solutions, various trim and simple regex
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question