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
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: @types/html-minifier, @types/koa
Credits
These definitions were written by Romain Faust.