html-minifier-terser 5.0.1
Highly configurable, well-tested, JavaScript-based HTML minifier.
html-minifier-terser@5.0.1 was published on 2019-11-03. Its manifest declares 8 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=10.
All html-minifier-terser versions · Permanent reference to 5.0.1 · Latest release
Package specifications
| Version | 5.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2019-11-03T11:39:03.554Z |
| Node.js requirement | >=10 |
| Type declarations | Not declared |
| Runtime dependency count | 8 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 94.58 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 | 15 |
| Repository stars | 482 |
| Repository forks | 45 |
Install html-minifier-terser 5.0.1
npm install html-minifier-terser@5.0.1 pnpm add html-minifier-terser@5.0.1 yarn add html-minifier-terser@5.0.1
Runtime dependencies
- camel-case ^3.0.0
- clean-css ^4.2.1
- commander ^4.0.0
- grunt-terser ^1.0.0
- he ^1.2.0
- param-case ^2.1.1
- relateurl ^0.2.7
- terser ^4.3.9
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@3.0.0 — direct
- clean-css@4.2.4 — direct
- commander@2.20.3 — indirect
- commander@4.1.1 — direct
- grunt-terser@1.0.0 — direct
- he@1.2.0 — direct
- lower-case@1.1.4 — indirect
- no-case@2.3.2 — indirect
- param-case@2.1.1 — direct
- relateurl@0.2.7 — direct
- source-map@0.6.1 — indirect
- source-map-support@0.5.21 — indirect
- terser@4.8.1 — direct
- upper-case@1.1.3 — 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.0.1 — retrieved 2026-10-31T22:24:40.087Z
- https://api.deps.dev/v3/projects/github.com%2Fterser%2Fhtml-minifier-terser — retrieved 2026-10-31T19:58:00.246Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/5.0.1 — retrieved 2026-10-31T22:24:40.494Z
- https://api.deps.dev/v3/systems/npm/packages/html-minifier-terser/versions/5.0.1:dependencies — retrieved 2026-10-31T22:24:40.515Z