# @types/html-minifier

> TypeScript definitions for html-minifier

Latest version **4.0.6** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/html-minifier
pnpm add @types/html-minifier
yarn add @types/html-minifier
bun add @types/html-minifier
```

## Health

**Score 65/100 (B)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.0.6 |
| Published | 2025-10-24 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/html-minifier
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-minifier
- npm.io page: https://npm.io/package/@types/html-minifier

## Dependencies (3)

- [@types/clean-css](https://npm.io/package/@types/clean-css.md) *
- [@types/relateurl](https://npm.io/package/@types/relateurl.md) *
- [@types/uglify-js](https://npm.io/package/@types/uglify-js.md) *

## Recent versions

- 4.0.6 (latest) — 2025-10-24
- 4.0.5 (ts4.5) — 2023-11-07
- 4.0.2 (ts3.9) — 2021-12-23
- 4.0.1 (ts3.6) — 2021-07-06
- 4.0.0 (ts3.3) — 2020-06-21
- 3.5.3 (ts2.4) — 2019-02-13
- 3.5.1 (ts2.0) — 2018-01-17
- 1.1.40 — 2025-10-24
- 1.1.39 — 2023-11-21
- 1.1.38 — 2023-11-07
- 1.1.37 — 2023-10-18
- 4.0.4 — 2023-10-18
- 1.1.36 — 2023-09-16
- 4.0.3 — 2023-09-16
- 1.1.35 — 2021-07-06
- … 17 more at https://npm.io/package/@types/html-minifier/versions

## README

# Installation
> `npm install --save @types/html-minifier`

# Summary
This package contains type definitions for html-minifier (https://github.com/kangax/html-minifier).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-minifier.

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/clean-css](https://npmjs.com/package/@types/clean-css), [@types/relateurl](https://npmjs.com/package/@types/relateurl), [@types/uglify-js](https://npmjs.com/package/@types/uglify-js)

# Credits
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

---
_Source: https://npm.io/package/@types/html-minifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
