html-minifier : Highly configurable, well-tested, JavaScript-based HTML minifier.. You can installing html-minifier npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install html-minifier $ sudo npm install -g html-minifier
If want to update the html-minifier package execute the command as below,
$ sudo npm update html-minifier
Update package globally,
$ npm install -g html-minifier
$ sudo git clone https://github.com/rektide/html-minifier.git
$ sudo npm install -g ./html-minifier
html-minifier@3.5.6 /usr/lib/node_modules/html-minifier
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall html-minifier
Package Name | html-minifier |
Version | 3.5.6 |
Description | Highly configurable, well-tested, JavaScript-based HTML minifier. |
Released Date | 2017-10-17T22:24:27.799Z |
Published by | alexlamsl |
How to Learn | https://www.npmjs.com/package/html-minifier/tutorial |