🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

fis3-optimizer-htmlminify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-optimizer-htmlminify

## 安装 ```` npm install fis3-optimizer-htmlminify -g ````

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

基于html-minifier 的fis3 插件,用于压缩html文件

安装

npm install fis3-optimizer-htmlminify -g

使用

fis.match("**.html",{
	optimizer : fis.plugin("htmlminify")
})

配置项

  • removeComments 移除页面注释,默认为true
  • collapseWhitespace 移除空格、回车、换行符等符号,默认为true
  • minifyJS 压缩页面内嵌的js代码,默认为true

其余配置项,请查看html-minifier的配置项:

html-minifier

FAQs

Package last updated on 06 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts