npm.io
0.2.7 • Published 11 months ago

@types/hpp

Licence
MIT
Version
0.2.7
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/hpp

Summary

This package contains type definitions for hpp (https://github.com/analog-nico/hpp).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hpp.

index.d.ts

import express = require("express");

declare namespace hpp {
    interface Options {
        checkBody?: boolean | undefined;
        checkBodyOnlyForContentType?: string | undefined;
        checkQuery?: boolean | undefined;
        whitelist?: string | string[] | undefined;
    }
}

declare function hpp(options?: hpp.Options): express.RequestHandler;

export = hpp;

Additional Details

  • Last updated: Fri, 24 Oct 2025 0441 GMT
  • Dependencies: @types/express

Credits

These definitions were written by Michael Manzinger.