# Install html-minifier-terser with npm

Highly configurable, well-tested, JavaScript-based HTML minifier. Version 7.2.0 via npm; verified 2023-04-11.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:html-minifier-terser
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/html-minifier-terser>
- **Version:** 7.2.0
- **Source summary:** Highly configurable, well-tested, JavaScript-based HTML minifier.
- **Homepage:** <https://terser.org/html-minifier-terser/>
- **Repository:** <https://github.com/terser/html-minifier-terser>
- **Upstream docs:** <https://terser.org/html-minifier-terser/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/html-minifier-terser/-/html-minifier-terser-7.2.0.tgz>
- **Issue tracker:** <https://github.com/terser/html-minifier-terser/issues>
- **Published:** 2023-04-11T05:32:18.898Z
- **Last updated:** 2023-04-11T05:32:18.898Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- html-minifier-terser (cli)
- html-minifier-terser (alias)

## Dependencies

- camel-case
- clean-css
- commander
- entities
- param-case
- relateurl
- terser

## Build dependencies

- @commitlint/cli
- @jest/globals
- @rollup/plugin-commonjs
- @rollup/plugin-json
- @rollup/plugin-node-resolve
- @rollup/plugin-terser
- alpinejs
- commitlint-config-non-conventional
- eslint
- eslint-config-standard
- husky
- is-ci
- jest
- jest-environment-jsdom
- lint-staged
- rollup
- rollup-plugin-polyfill-node
- vite

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 7.2.0
- Package-manager updated: 2023-04-11
- Local data: ok
- Upstream repository: https://github.com/terser/html-minifier-terser
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for html-minifier-terser. 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.2.0
- **Version Count:** 19
- **Maintainers:** evilebottnawi, sibiraj-s
- **Author:** Daniel Ruf
- **Publisher:** sibiraj-s
- **Engines:** Node: ^14.13.1 || >=16.0.0
- **Integrity:** sha512-tXgn3QfqPIpGl9o+K5tpcj3/MN4SfLtsx2GWwBC3SSd0tXQGyF3gsSqad8loJgKZGM3ZxbYDd5yhiBIdWpmvLA==
- **Shasum:** 18752e23a2f0ed4b0f550f217bb41693e975b942
- **Unpacked Size:** 4,597,603
- **File Count:** 0
- **Created At:** 2019-11-02T14:47:06.879Z
- **Latest Published At:** 2023-04-11T05:32:18.898Z
- **Modified At:** 2023-09-10T02:44:56.394Z


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [html-minifier](https://www.automicvault.com/pkg/npm/html-minifier/) - Package names and metadata indicate a similar tool family. Shared terms: based, camel, camel-case, case, clean.
- [html-minifier-next](https://www.automicvault.com/pkg/npm/html-minifier-next/) - Both packages touch the same language runtime or ecosystem. Shared terms: commander, compress, compressor, configurable, css.
- [node-minify](https://www.automicvault.com/pkg/npm/node-minify/) - Both packages touch the same language runtime or ecosystem. Shared terms: based, clean, clean-css, commander, compressor.

## Sources

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