1.0.2 • Published 6 months ago
@types/parse-multipart v1.0.2
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
// Type definitions for parse-multipart 1.0
// Project: https://github.com/freesoftwarefactory/parse-multipart#readme
// Definitions by: pharrukh <https://github.com/pharrukh>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <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: Sat, 14 Aug 2021 11:31:28 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by pharrukh.