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.
import * as express from "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: Sat, 16 Sep 2023 08:06:32 GMT
- Dependencies: @types/express
- Global values: none
Credits
These definitions were written by Michael Strobel.