htmlnano 2.0.3
Modular HTML minifier, built on top of the PostHTML
htmlnano@2.0.3 was published on 2022-11-13. Its manifest declares 3 runtime dependencies and 8 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All htmlnano versions · Permanent reference to 2.0.3 · Latest release
Package specifications
| Version | 2.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2022-11-13T17:55:11.131Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 8 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1172.03 KiB |
| Published file count | 62 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 29 |
| Repository stars | 296 |
| Repository forks | 36 |
Install htmlnano 2.0.3
npm install htmlnano@2.0.3 pnpm add htmlnano@2.0.3 yarn add htmlnano@2.0.3
Runtime dependencies
- timsort ^0.3.0
- posthtml ^0.16.5
- cosmiconfig ^7.0.1
Peer requirements
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/code-frame@7.29.7 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @types/parse-json@4.0.2 — indirect
- callsites@3.1.0 — indirect
- cosmiconfig@7.1.0 — direct
- dom-serializer@1.4.1 — indirect
- domelementtype@2.3.0 — indirect
- domhandler@4.3.1 — indirect
- domutils@2.8.0 — indirect
- entities@2.2.0 — indirect
- entities@3.0.1 — indirect
- error-ex@1.3.4 — indirect
- htmlparser2@7.2.0 — indirect
- import-fresh@3.3.1 — indirect
- is-arrayish@0.2.1 — indirect
- is-json@2.0.1 — indirect
- js-tokens@4.0.0 — indirect
- json-parse-even-better-errors@2.3.1 — indirect
- lines-and-columns@1.2.4 — indirect
- parent-module@1.0.1 — indirect
- parse-json@5.2.0 — indirect
- path-type@4.0.0 — indirect
- picocolors@1.1.1 — indirect
- posthtml@0.16.7 — direct
- posthtml-parser@0.11.0 — indirect
- posthtml-render@3.0.0 — indirect
- resolve-from@4.0.0 — indirect
- timsort@0.3.0 — direct
- yaml@1.10.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 | 10/10 — 30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 0/10 — Found 0/16 approved changesets -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| 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 | 10/10 — project is fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 3/10 — branch protection is not maximal on development and all release branches |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/htmlnano/2.0.3 — retrieved 2026-11-01T06:49:21.359Z
- https://api.deps.dev/v3/projects/github.com%2Fmaltsev%2Fhtmlnano — retrieved 2026-11-01T06:34:42.643Z
- https://api.deps.dev/v3/systems/npm/packages/htmlnano/versions/2.0.3:dependencies — retrieved 2026-11-01T06:49:21.775Z
- https://api.deps.dev/v3/systems/npm/packages/htmlnano/versions/2.0.3 — retrieved 2026-11-01T06:49:21.793Z