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

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/parse-multipart

Weekly Downloads

2,411

Version

1.0.2

License

MIT

Unpacked Size

3.27 kB

Total Files

5

Last publish

Collaborators

  • types