# @types/gulp-minify-html

> TypeScript definitions for gulp-minify-html

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

## Install

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

## 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.36 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.36 (latest) — 2023-11-07
- 1.0.33 (ts4.3) — 2023-05-10
- 1.0.32 (ts3.6) — 2021-07-08
- 1.0.31 (ts2.0) — 2017-11-08
- 1.0.35 — 2023-10-18
- 1.0.34 — 2023-09-20
- 1.0.30 — 2017-03-16
- 1.0.29 — 2016-09-19
- 1.0.28 — 2016-07-14
- 1.0.27-alpha — 2016-07-08
- 1.0.26-alpha — 2016-07-04
- 1.0.25-alpha — 2016-07-02
- 1.0.24-alpha — 2016-07-01
- 1.0.23-alpha — 2016-07-01
- 1.0.22-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/gulp-minify-html/versions

## README

# Installation
> `npm install --save @types/gulp-minify-html`

# Summary
This package contains type definitions for gulp-minify-html (https://github.com/murphydanger/gulp-minify-html).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-minify-html.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-minify-html/index.d.ts)
````ts
/// <reference types="node" />

// This package has been deprecated in favor of gulp-htmlmin, which should be faster and more comprehensive.

declare namespace minifyHtml {
    // Options from https://github.com/Swaagie/minimize#options
    interface Options {
        // Do not remove empty attributes
        empty?: boolean | undefined;

        // Do not strip CDATA from scripts
        cdata?: boolean | undefined;

        // Do not remove comments
        comments?: boolean | undefined;

        // Do not remove conditional internet explorer comments
        conditionals?: boolean | undefined;

        // Do not remove redundant attributes
        spare?: boolean | undefined;

        // Do not remove arbitrary quotes
        quotes?: boolean | undefined;

        // Preserve one whitespace
        loose?: boolean | undefined;
    }
}

declare function minifyHtml(options?: minifyHtml.Options): NodeJS.ReadWriteStream;

export = minifyHtml;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Tanguy Krotoff](https://github.com/tkrotoff).

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