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: Mon, 05 Feb 2024 22:35:26 GMT
- Dependencies: @types/express
Credits
These definitions were written by Michael Manzinger.