1.1.3 • Published 6 months ago
@types/media-typer v1.1.3
Installation
npm install --save @types/media-typer
Summary
This package contains type definitions for media-typer (https://github.com/jshttp/media-typer).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer/v0.
index.d.ts
// Type definitions for media-typer 0.3
// Project: https://github.com/jshttp/media-typer
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(mediaType: string): MediaType;
export function format(mediaTypeDescriptor: MediaType): string;
export interface MediaType {
type: string;
subtype: string;
suffix?: string | undefined;
}
Additional Details
- Last updated: Tue, 06 Jul 2021 22:03:03 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by BendingBender.