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.