# 使用 npm 安装 html-minifier

查看 html-minifier 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:html-minifier
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g html-minifier
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:html-minifier
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/html-minifier>
- **版本:** 4.0.0
- **来源摘要:** Highly configurable, well-tested, JavaScript-based HTML minifier.
- **主页:** <https://kangax.github.io/html-minifier/>
- **仓库:** <https://github.com/kangax/html-minifier>
- **上游文档:** <https://kangax.github.io/html-minifier/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/html-minifier/-/html-minifier-4.0.0.tgz>
- **问题跟踪器:** <https://github.com/kangax/html-minifier/issues>
- **发布时间:** 2019-04-01T18:49:19.719Z
- **最后更新:** 2019-04-01T18:49:19.719Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- html-minifier (cli)
- html-minifier (别名)

## 依赖

- camel-case
- clean-css
- commander
- he
- param-case
- relateurl
- uglify-js

## 构建依赖

- grunt
- grunt-browserify
- grunt-contrib-uglify
- grunt-eslint
- phantomjs-prebuilt
- qunit

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 4.0.0
- 管理器更新时间: 2019-04-01
- 本地数据: OK
- 上游仓库: https://github.com/kangax/html-minifier
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 html-minifier 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 4.0.0
- **Version Count:** 80
- **Maintainers:** alexlamsl, kangax, mathias
- **Author:** Juriy "kangax" Zaytsev
- **Publisher:** alexlamsl
- **Engines:** Node: >=6
- **Integrity:** sha512-aoGxanpFPLg7MkIl/DDFYtb0iWz7jMFGqFhvEDZga6/4QTjneiD8I/NXL1x5aaoCp7FSIT6h/OhykDdPsbtMig==
- **Shasum:** cca9aad8bce1175e02e17a8c33e46d8988889f56
- **Unpacked Size:** 96,816
- **File Count:** 0
- **Created At:** 2011-08-05T22:37:09.311Z
- **Latest Published At:** 2019-04-01T18:49:19.719Z
- **Modified At:** 2023-09-10T02:44:54.330Z

## 其他软件包管理器记录

- Nix - html-minifier: normalized package name match | nixpkgs package indexes: pkgs/by-name/ht/html-minifier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Web development packages](https://www.automicvault.com/zh-hans/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [html-minifier-terser](https://www.automicvault.com/zh-hans/pkg/npm/html-minifier-terser/) - Package names and metadata indicate a similar tool family. Shared terms: based, camel, camel-case, case, clean.
- [html-minifier-next](https://www.automicvault.com/zh-hans/pkg/npm/html-minifier-next/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, compress, compressor, configurable, css.
- [node-minify](https://www.automicvault.com/zh-hans/pkg/npm/node-minify/) - Both packages touch the same language runtime or ecosystem. Shared terms: based, clean, clean-css, commander, compressor.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
