# @types/koa-html-minifier

> TypeScript definitions for koa-html-minifier

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2018-07-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (2)

- [@types/koa](https://npm.io/package/@types/koa.md) *
- [@types/html-minifier](https://npm.io/package/@types/html-minifier.md) *

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.1 (ts2.3) — 2018-08-25
- 1.0.3 — 2023-10-18
- 1.0.2 — 2023-09-14
- 1.0.0 — 2018-07-30

## README

# Installation
> `npm install --save @types/koa-html-minifier`

# Summary
This package contains type definitions for koa-html-minifier (https://github.com/koajs/html-minifier).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-html-minifier.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-html-minifier/index.d.ts)
````ts
import { Options as HtmlMinifierOptions } from "html-minifier";
import { Middleware } from "koa";

declare function koaHtmlMinifier(options?: koaHtmlMinifier.Options): Middleware;

declare namespace koaHtmlMinifier {
    type Options = HtmlMinifierOptions;
}

export = koaHtmlMinifier;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/html-minifier](https://npmjs.com/package/@types/html-minifier), [@types/koa](https://npmjs.com/package/@types/koa)

# Credits
These definitions were written by [Romain Faust](https://github.com/romain-faust).

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