mime-types/000755 001751 000166 0000000000 15020720275014620 5ustar00runner000000 000000 1502072027515020720275mime-types/LICENSE000644 001751 000166 0000002165 15020720275015631 0ustar00runner000000 000000 1502072027515020720275 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE mime-types/README.md000644 001751 000166 0000002102 15020720275016070 0ustar00runner000000 000000 1502072051615020720275# 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: Sat, 07 Jun 2025 02:15:25 GMT * Dependencies: none # Credits These definitions were written by [Gyusun Yeom](https://github.com/Perlmint), and [Sebastian Beltran](https://github.com/bjohansebas). mime-types/index.d.ts000644 001751 000166 0000000652 15020720275016524 0ustar00runner000000 000000 1502072027515020720275export 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[] }; mime-types/package.json000644 001751 000166 0000001730 15020720275017105 0ustar00runner000000 000000 1502072051615020720275{ "name": "@types/mime-types", "version": "3.0.1", "description": "TypeScript definitions for mime-types", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types", "license": "MIT", "contributors": [ { "name": "Gyusun Yeom", "githubUsername": "Perlmint", "url": "https://github.com/Perlmint" }, { "name": "Sebastian Beltran", "githubUsername": "bjohansebas", "url": "https://github.com/bjohansebas" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/mime-types" }, "scripts": {}, "dependencies": {}, "peerDependencies": {}, "typesPublisherContentHash": "a40f1b8ad7a6df5e0c5217e98b92e81fb5d70013ac677ddd1dd4203cfbb7f7a3", "typeScriptVersion": "5.1" }