1.0.36 • Published 2 years ago

@types/gulp-minify-html v1.0.36

Weekly downloads
674
License
MIT
Repository
github
Last release
2 years ago

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

// Type definitions for gulp-minify-html v1.0.2
// Project: https://github.com/murphydanger/gulp-minify-html
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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: Thu, 08 Jul 2021 14:22:30 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Tanguy Krotoff.

1.0.36

2 years ago

1.0.35

2 years ago

1.0.34

2 years ago

1.0.33

2 years ago

1.0.32

4 years ago

1.0.31

8 years ago

1.0.30

8 years ago

1.0.29

9 years ago

1.0.28

9 years ago

1.0.27-alpha

9 years ago

1.0.26-alpha

9 years ago

1.0.25-alpha

9 years ago

1.0.24-alpha

9 years ago

1.0.23-alpha

9 years ago

1.0.22-alpha

9 years ago

1.0.21-alpha

9 years ago

1.0.16-alpha

9 years ago

1.0.15-alpha

9 years ago