html-minifier-terser 5.1.1
Highly configurable, well-tested, JavaScript-based HTML minifier.
html-minifier-terser@5.1.1 was published on 2020-05-13. 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 >=6.
All html-minifier-terser versions · Permanent reference to 5.1.1 · Latest release
Package specifications
| Version | 5.1.1 |
|---|---|
| License declaration | MIT |
| Published | 2020-05-13T20:14:57.667Z |
| Node.js requirement | >=6 |
| 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 | 94.90 KiB |
| Published file count | 9 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | src/htmlminifier.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 16 |
| Repository stars | 482 |
| Repository forks | 45 |
Install html-minifier-terser 5.1.1
npm install html-minifier-terser@5.1.1 pnpm add html-minifier-terser@5.1.1 yarn add html-minifier-terser@5.1.1
Runtime dependencies
- camel-case ^4.1.1
- clean-css ^4.2.3
- commander ^4.1.1
- he ^1.2.0
- param-case ^3.0.3
- relateurl ^0.2.7
- terser ^4.6.3
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.
- buffer-from@1.1.2 — indirect
- camel-case@4.1.2 — direct
- clean-css@4.2.4 — direct
- commander@2.20.3 — indirect
- commander@4.1.1 — direct
- dot-case@3.0.4 — indirect
- he@1.2.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@4.8.1 — 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/5.1.1 — retrieved 2026-10-29T08:09:13.603Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/5.1.1 — retrieved 2026-10-29T08:09:14.017Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/5.1.1:dependencies — retrieved 2026-10-29T08:09:14.034Z
- https://api.deps.dev/v3/projects/github.com%2Fterser%2Fhtml-minifier-terser — retrieved 2026-10-29T08:09:14.749Z