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

1.0.4 • Public • Published

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.

/@types/koa-html-minifier/

    Package Sidebar

    Install

    npm i @types/koa-html-minifier

    Weekly Downloads

    17

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.37 kB

    Total Files

    5

    Last publish

    Collaborators

    • types