html-minifier-terser 7.2.0
Highly configurable, well-tested, JavaScript-based HTML minifier.
html-minifier-terser@7.2.0 was published on 2023-04-11. Its manifest declares 7 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^14.13.1 || >=16.0.0.
All html-minifier-terser versions · Permanent reference to 7.2.0 · Latest release
Package specifications
| Version | 7.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2023-04-11T05:32:18.898Z |
| Node.js requirement | ^14.13.1 || >=16.0.0 |
| Type declarations | Not declared |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4489.85 KiB |
| Published file count | 12 |
| Package type | module |
| ES module entry | ./src/htmlminifier.js |
| Default entry | ./dist/htmlminifier.cjs |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 22 |
| Repository stars | 482 |
| Repository forks | 45 |
Install html-minifier-terser 7.2.0
npm install html-minifier-terser@7.2.0 pnpm add html-minifier-terser@7.2.0 yarn add html-minifier-terser@7.2.0
Runtime dependencies
- camel-case ^4.1.2
- clean-css ~5.3.2
- commander ^10.0.0
- entities ^4.4.0
- param-case ^3.0.4
- relateurl ^0.2.7
- terser ^5.15.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @jridgewell/gen-mapping@0.3.13 — indirect
- @jridgewell/resolve-uri@3.1.2 — indirect
- @jridgewell/source-map@0.3.11 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @jridgewell/trace-mapping@0.3.31 — indirect
- acorn@8.19.0 — indirect
- buffer-from@1.1.2 — indirect
- camel-case@4.1.2 — direct
- clean-css@5.3.3 — direct
- commander@10.0.1 — direct
- commander@2.20.3 — indirect
- dot-case@3.0.4 — indirect
- entities@4.5.0 — direct
- lower-case@2.0.2 — indirect
- no-case@3.0.4 — indirect
- param-case@3.0.4 — direct
- pascal-case@3.1.2 — indirect
- relateurl@0.2.7 — direct
- source-map@0.6.1 — indirect
- source-map-support@0.5.21 — indirect
- terser@5.51.2 — direct
- tslib@2.8.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 2/10 — 3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Code-Review | 1/10 — Found 3/21 approved changesets -- score normalized to 1 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 5/10 — dependency not pinned by hash detected -- score normalized to 5 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 4/10 — branch protection is not maximal on development and all release branches |
| SAST | 5/10 — SAST tool is not run on all commits -- score normalized to 5 |
Evidence and freshness
- https://registry.npmjs.org/html-minifier-terser/7.2.0 — retrieved 2026-10-29T09:35:01.351Z
- https://api.deps.dev/v3/projects/github.com%2Fterser%2Fhtml-minifier-terser — retrieved 2026-10-29T08:09:14.749Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/7.2.0 — retrieved 2026-10-29T09:35:01.889Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/7.2.0:dependencies — retrieved 2026-10-29T09:35:01.954Z