# Install html-minifier-next with npm

Super-configurable and well-tested web page minifier (enhanced successor to HTML Minifier). Version 7.0.0 via npm; verified 2026-06-15.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:html-minifier-next
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/html-minifier-next>
- **Version:** 7.0.0
- **Source summary:** Super-configurable and well-tested web page minifier (enhanced successor to HTML Minifier)
- **Homepage:** <https://j9t.github.io/html-minifier-next/>
- **Repository:** <https://github.com/j9t/html-minifier-next>
- **Upstream docs:** <https://j9t.github.io/html-minifier-next/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/html-minifier-next/-/html-minifier-next-7.0.0.tgz>
- **Issue tracker:** <https://github.com/j9t/html-minifier-next/issues>
- **Published:** 2026-06-15T05:56:42.403Z
- **Last updated:** 2026-06-15T05:56:42.403Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hmn (cli)
- html-minifier-next (cli)
- html-minifier-next (alias)

## Dependencies

- commander
- entities
- lightningcss
- svgo
- terser

## Build dependencies

- @commitlint/cli
- @eslint/js
- @swc/core
- @types/node
- eslint
- typescript
- vite

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.0.0
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/j9t/html-minifier-next
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for html-minifier-next. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 7.0.0
- **Version Count:** 108
- **Maintainers:** j9t
- **Author:** Jens Oliver Meiert
- **Publisher:** GitHub Actions
- **Engines:** Node: >=22
- **Peer Dependencies:** @swc/core
- **Funding:** <https://github.com/j9t/html-minifier-next?sponsor=1>
- **Integrity:** sha512-ClCOzH/YerIwJKPjILAl3rXJqSkLmzlUoRUSLsl+WkiK4zNbihFlfOLIVSbd9OJTZkXdu978+oOKQpXBJgAoDA==
- **Shasum:** 4c3905b4e207986fe9d4b504f66b78aac1e21e3e
- **Unpacked Size:** 350,376
- **File Count:** 0
- **Created At:** 2025-05-18T20:26:54.281Z
- **Latest Published At:** 2026-06-15T05:56:42.403Z
- **Modified At:** 2026-06-15T05:56:42.737Z


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [html-minifier-terser](https://www.automicvault.com/pkg/npm/html-minifier-terser/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, compress, compressor, configurable, css.
- [html-minifier](https://www.automicvault.com/pkg/npm/html-minifier/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, compress, compressor, configurable, css.
- [minify](https://www.automicvault.com/pkg/npm/minify/) - Both packages work with overlapping file formats or content types. Shared terms: css, html, html-minifier-next, js, lightningcss.

## Sources

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