@types/mime
Advanced tools
Comparing version 2.0.1 to 2.0.2
import { TypeMap } from "./index"; | ||
export default class Mime { | ||
constructor(mimes: TypeMap); | ||
constructor(mimes: TypeMap); | ||
getType(path: string): string | null; | ||
getType(path: string): string | null; | ||
getExtension(mime: string): string | null; | ||
define(mimes: TypeMap, force?: boolean): void; | ||
} |
{ | ||
"name": "@types/mime", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "TypeScript definitions for mime", | ||
@@ -19,11 +19,12 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/mime" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "44440ff7edf5dabbbd9ed5edb3482c642f8167d582192aa9d93b68daaab883cf", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "f9d0462f012053c4c38947d2d0c779fbeec4b457ef17192e5020cf095df9489d", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for mime ( https://github.com/broofa/node-mime ). | ||
This package contains type definitions for mime (https://github.com/broofa/node-mime). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime. | ||
Additional Details | ||
* Last updated: Tue, 05 Feb 2019 22:09:07 GMT | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 10:02:03 GMT | ||
* Dependencies: none | ||
* Global values: mime | ||
* Global values: `mime` | ||
# Credits | ||
These definitions were written by Jeff Goddard <https://github.com/jedigo>, Daniel Hritzkiv <https://github.com/dhritzkiv>. | ||
These definitions were written by [Jeff Goddard](https://github.com/jedigo), and [Daniel Hritzkiv](https://github.com/dhritzkiv). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3372