@types/gulp-minify-html
TypeScript icon, indicating that this package has built-in type declarations

1.0.36 • Public • Published

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

/// <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

Credits

These definitions were written by Tanguy Krotoff.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-minify-html

Weekly Downloads

448

Version

1.0.36

License

MIT

Unpacked Size

4.6 kB

Total Files

5

Last publish

Collaborators

  • types