@node-minify/html-minifier
TypeScript icon, indicating that this package has built-in type declarations

8.0.6 • Public • Published

node-minify

A very light minifier Node.js module.


Build Status

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

License

MIT

Package Sidebar

Install

npm i @node-minify/html-minifier

Weekly Downloads

1,413

Version

8.0.6

License

MIT

Unpacked Size

15.8 kB

Total Files

9

Last publish

Collaborators

  • srod