{"_id":"@types/mime-types","_rev":"4210613","name":"@types/mime-types","description":"TypeScript definitions for mime-types","dist-tags":{"latest":"3.0.1","ts2.0":"2.1.0","ts2.1":"2.1.0","ts2.2":"2.1.0","ts2.3":"2.1.0","ts2.4":"2.1.0","ts2.5":"2.1.0","ts2.6":"2.1.0","ts2.7":"2.1.0","ts2.8":"2.1.0","ts2.9":"2.1.0","ts3.0":"2.1.0","ts3.1":"2.1.0","ts3.2":"2.1.0","ts3.3":"2.1.0","ts3.4":"2.1.0","ts3.5":"2.1.0","ts3.6":"2.1.1","ts3.7":"2.1.1","ts3.8":"2.1.1","ts3.9":"2.1.1","ts4.0":"2.1.1","ts4.1":"2.1.1","ts4.2":"2.1.1","ts4.3":"2.1.1","ts4.4":"2.1.1","ts4.5":"2.1.4","ts4.6":"2.1.4","ts4.7":"2.1.4","ts4.8":"2.1.4","ts4.9":"2.1.4","ts5.0":"2.1.4","ts5.1":"3.0.1","ts5.2":"3.0.1","ts5.3":"3.0.1","ts5.4":"3.0.1","ts5.5":"3.0.1","ts5.6":"3.0.1","ts5.7":"3.0.1","ts5.8":"3.0.1","ts5.9":"3.0.1","ts6.0":"3.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-03-04T17:05:34.000Z","created":"2017-04-18T15:08:38.305Z","3.0.1":"2025-06-07T02:17:51.008Z","3.0.0":"2025-05-30T00:47:27.262Z","2.1.4":"2023-11-07T11:09:32.945Z","2.1.3":"2023-10-18T08:43:51.794Z","2.1.2":"2023-09-27T10:10:24.085Z","2.1.1":"2021-08-16T19:31:38.098Z","2.1.0":"2017-04-18T15:08:38.305Z"},"users":{},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/mime-types"},"versions":{"3.0.1":{"name":"@types/mime-types","version":"3.0.1","license":"MIT","_id":"@types/mime-types@3.0.1","maintainers":[{"name":"types","email":""}],"contributors":[{"url":"https://github.com/Perlmint","name":"Gyusun Yeom","githubUsername":"Perlmint"},{"url":"https://github.com/bjohansebas","name":"Sebastian Beltran","githubUsername":"bjohansebas"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types","dist":{"shasum":"7fb74656179257c27cd48aa503eb918811727115","size":1683,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-3.0.1.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/mime-types"},"description":"TypeScript definitions for mime-types","directories":{},"dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.1","_npmOperationalInternal":{"tmp":"tmp/mime-types_3.0.1_1749262670808_0.12173553438185047","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"a40f1b8ad7a6df5e0c5217e98b92e81fb5d70013ac677ddd1dd4203cfbb7f7a3","_cnpmcore_publish_time":"2025-06-07T02:17:51.008Z","publish_time":1749262671008,"_source_registry_name":"default","_cnpm_publish_time":1749262671008},"3.0.0":{"name":"@types/mime-types","version":"3.0.0","license":"MIT","_id":"@types/mime-types@3.0.0","maintainers":[{"name":"types","email":""}],"contributors":[{"url":"https://github.com/Perlmint","name":"Gyusun Yeom","githubUsername":"Perlmint"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types","dist":{"shasum":"0eefbf4e395fa3bb2164589e146b71bac01564f7","size":1640,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-3.0.0.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/mime-types"},"description":"TypeScript definitions for mime-types","directories":{},"dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.1","_npmOperationalInternal":{"tmp":"tmp/mime-types_3.0.0_1748566047088_0.5398295798062731","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"a3bef9bf070c1c2799287cd53011741faad36ba1f5a2a09055188a251033b7f8","_cnpmcore_publish_time":"2025-05-30T00:47:27.262Z","publish_time":1748566047262,"_source_registry_name":"default","_cnpm_publish_time":1748566047262},"2.1.4":{"name":"@types/mime-types","version":"2.1.4","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"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/mime-types"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"4fc952c6b156849cee9d95c0ab6082b55a05cd04a2e69589aab53982b696da9c","typeScriptVersion":"4.5","_id":"@types/mime-types@2.1.4","dist":{"shasum":"93a1933e24fed4fb9e4adc5963a63efcbb3317a2","size":1623,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-2.1.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mime-types_2.1.4_1699355372734_0.8217450785500455"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T11:09:32.945Z","publish_time":1699355372945,"_source_registry_name":"default","_cnpm_publish_time":1699355372945},"2.1.3":{"name":"@types/mime-types","version":"2.1.3","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"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/mime-types"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9aa2bcf711ade4360f6d2c8a59aa55eb22e0ff92124f7d4d827197349dbc99cb","typeScriptVersion":"4.5","_id":"@types/mime-types@2.1.3","dist":{"shasum":"0688436864f87a0c8e33ca12be60cd791cc24b36","size":1625,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-2.1.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mime-types_2.1.3_1697618631595_0.22755492977228298"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T08:43:51.794Z","publish_time":1697618631794,"_source_registry_name":"default","_cnpm_publish_time":1697618631794},"2.1.2":{"name":"@types/mime-types","version":"2.1.2","description":"TypeScript definitions for mime-types","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types","license":"MIT","contributors":[{"name":"Gyusun Yeom","url":"https://github.com/Perlmint","githubUsername":"Perlmint"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/mime-types"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c896849790eaa76c54f6ee465e15ff72bb9d250931bb5e6b746832dc4a1b76c5","typeScriptVersion":"4.5","_id":"@types/mime-types@2.1.2","dist":{"shasum":"b4fe6996d2f32975b6603b26b4e4b3b6c92c9901","size":1688,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-2.1.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mime-types_2.1.2_1695809423919_0.0003544948123954672"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-27T10:10:24.085Z","publish_time":1695809424085,"_source_registry_name":"default","_cnpm_publish_time":1695809424085},"2.1.1":{"name":"@types/mime-types","version":"2.1.1","description":"TypeScript definitions for mime-types","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types","license":"MIT","contributors":[{"name":"Gyusun Yeom","url":"https://github.com/Perlmint","githubUsername":"Perlmint"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/mime-types"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"33a339a02f022bc6a9481a89334ede645b2d647d21ab61dd4876232fbee8d2f8","typeScriptVersion":"3.6","_id":"@types/mime-types@2.1.1","dist":{"shasum":"d9ba43490fa3a3df958759adf69396c3532cf2c1","size":1631,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-2.1.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mime-types_2.1.1_1629142297945_0.035263669058037905"},"_hasShrinkwrap":false,"publish_time":1629142298098,"_cnpm_publish_time":1629142298098},"2.1.0":{"name":"@types/mime-types","version":"2.1.0","description":"TypeScript definitions for mime-types","license":"MIT","contributors":[{"name":"Gyusun Yeom","url":"https://github.com/Perlmint"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"cd2abb8b2c08b67c17bc1759892e2bad498bcde36e48d21d5390cf46d6138bf9","typeScriptVersion":"2.0","_id":"@types/mime-types@2.1.0","dist":{"shasum":"9ca52cda363f699c69466c2a6ccdaad913ea7a73","size":1545,"noattachment":false,"key":"/@types/mime-types/-/@types/mime-types-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/mime-types/download/@types/mime-types-2.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mime-types-2.1.0.tgz_1492528117519_0.29295707936398685"},"directories":{},"publish_time":1492528118305,"_hasShrinkwrap":false,"_cnpm_publish_time":1492528118305}},"readme":"# Installation\r\n> `npm install --save @types/mime-types`\r\n\r\n# Summary\r\nThis package contains type definitions for mime-types (https://github.com/jshttp/mime-types#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types/index.d.ts)\r\n````ts\r\nexport function lookup(filenameOrExt: string): string | false;\n\nexport function contentType(filenameOrExt: string): string | false;\n\nexport function extension(typeString: string): string | false;\n\nexport function charset(typeString: string): string | false;\n\nexport namespace charsets {\n    const lookup: typeof charset;\n}\n\nexport const types: { [key: string]: string };\n\nexport const extensions: { [key: string]: string[] };\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 07 Jun 2025 02:15:25 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Gyusun Yeom](https://github.com/Perlmint), and [Sebastian Beltran](https://github.com/bjohansebas).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime-types","license":"MIT"}