[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE2025-03-12 09:01 1.1K 
[TXT]README.md2025-03-12 09:01 1.0K 
[TXT]index.d.ts2025-03-12 09:01 420  
[   ]package.json2025-03-12 09:01 797  
# Installation
> `npm install --save @types/mime-types`

# Summary
This package contains type definitions for mime-types (https://github.com/jshttp/mime-types#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types/index.d.ts)
````ts
export function lookup(filenameOrExt: string): string | false;
export function contentType(filenameOrExt: string): string | false;
export function extension(typeString: string): string | false;
export function charset(typeString: string): string | false;
export namespace charsets {
    const lookup: typeof charset;
}
export const types: { [key: string]: string };
export const extensions: { [key: string]: string[] };

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Gyusun Yeom](https://github.com/Perlmint).