npm.io
1.0.4 • Published 2 years ago

@types/koa-html-minifier

Licence
MIT
Version
1.0.4
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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

Credits

These definitions were written by Romain Faust.