npm.io
8.0.4 • Published 11 months ago

@types/express-busboy

Licence
MIT
Version
8.0.4
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/express-busboy

Summary

This package contains type definitions for express-busboy (https://github.com/yahoo/express-busboy).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-busboy.

index.d.ts

import connectBusboy = require("connect-busboy");
import express = require("express");

export interface ExpressBusboyOptions extends connectBusboy.ConnectBusboyOptions {
    upload?: boolean;
    path?: string;
    allowedPath?: string | RegExp | ((url: string) => boolean);
    restrictMultiple?: boolean;
    mimeTypeLimit?: string | string[];
    strip?: (value: string, type?: string) => string;
}

export function extend(app: express.Application, options?: ExpressBusboyOptions): express.Application;

Additional Details

Credits

These definitions were written by Pinguet62.