1.1.3 • Published 6 months ago

@types/media-typer v1.1.3

Weekly downloads
107,408
License
MIT
Repository
github
Last release
6 months ago

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.

0.3.4

6 months ago

1.1.3

6 months ago

0.3.3

7 months ago

1.1.2

7 months ago

1.1.1

3 years ago

0.3.2

3 years ago

0.3.1

4 years ago

1.1.0

4 years ago

0.3.0

7 years ago