Installation
npm install --save @types/parse-multipart
Summary
This package contains type definitions for parse-multipart (https://github.com/freesoftwarefactory/parse-multipart#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-multipart.
index.d.ts
/// <reference types="node" />
export interface ParsedFile {
filename: string;
data: Buffer;
type: string;
}
export function getBoundary(header: string): string;
export function Parse(multipartBodyBuffer: Buffer, boundary: string): ParsedFile[];
export function DemoData(): Buffer;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by pharrukh.