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

0.2.6 • Public • Published

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 * 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hpp

Weekly Downloads

27,890

Version

0.2.6

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • types