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.
// 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.
Current Tags
-
1.1.1
...
latest
(5 years ago)
-
0.3.0
...
ts2.0
(9 years ago)
-
0.3.0
...
ts2.1
(9 years ago)
-
0.3.0
...
ts2.2
(9 years ago)
-
0.3.0
...
ts2.3
(9 years ago)
-
0.3.0
...
ts2.4
(9 years ago)
-
0.3.0
...
ts2.5
(9 years ago)
-
0.3.0
...
ts2.6
(9 years ago)
-
0.3.0
...
ts2.7
(9 years ago)
-
0.3.0
...
ts2.8
(9 years ago)
-
1.1.0
...
ts2.9
(6 years ago)
-
1.1.0
...
ts3.0
(6 years ago)
-
1.1.0
...
ts3.1
(6 years ago)
-
1.1.0
...
ts3.2
(6 years ago)
-
1.1.0
...
ts3.3
(6 years ago)
-
1.1.0
...
ts3.4
(6 years ago)
-
1.1.0
...
ts3.5
(6 years ago)
-
1.1.1
...
ts3.6
(5 years ago)
-
1.1.1
...
ts3.7
(5 years ago)
-
1.1.1
...
ts3.8
(5 years ago)
-
1.1.1
...
ts3.9
(5 years ago)
-
1.1.1
...
ts4.0
(5 years ago)
-
1.1.1
...
ts4.1
(5 years ago)
-
1.1.1
...
ts4.2
(5 years ago)
-
1.1.1
...
ts4.3
(5 years ago)
-
1.1.1
...
ts4.4
(5 years ago)
-
1.1.1
...
ts4.5
(5 years ago)
-
1.1.1
...
ts4.6
(5 years ago)
-
1.1.1
...
ts4.7
(5 years ago)
-
1.1.1
...
ts4.8
(5 years ago)
-
1.1.1
...
ts4.9
(5 years ago)
5 Versions