@node-minify/html-minifier
v8.0.6
Published
html-minifier plugin for @node-minify
Downloads
8,213
Maintainers
Readme
html-minifier
html-minifier
is a plugin for node-minify
It allow you to compress HTML files.
Installation
npm install @node-minify/core @node-minify/html-minifier
Usage
const minify = require('@node-minify/core');
const htmlMinifier = require('@node-minify/html-minifier');
minify({
compressor: htmlMinifier,
input: 'foo.js',
output: 'bar.js',
callback: function (err, min) {}
});
Documentation
Visit https://node-minify.2clics.net/compressors/html-minifier.html for full documentation