jstransformer-html-minifier
v4.0.0
Published
HTMLMinifier support for JSTransformers.
Downloads
14
Keywords
Readme
jstransformer-html-minifier
HTMLMinifier support for JSTransformers.
Installation
npm install jstransformer-html-minifier
API
var htmlmin = require('jstransformer')(require('jstransformer-html-minifier'))
htmlmin.render('<p title="blah" id="moo">html-minifier</p>', {
removeAttributeQuotes: true
}).body
//=> '<p title=blah id=moo>html-minifier</p>'
License
MIT