Answers for "minify html using javascript"

0

minify html using javascript

var minify = require('html-minifier').minify;
var result = minify('<p title="blah" id="moo">foo</p>', {
  removeAttributeQuotes: true
});
result; // '<p title=blah id=moo>foo</p>'
Posted by: Guest on August-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language