@types/mime
Advanced tools
Comparing version 0.0.29 to 1.3.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for mime | ||
// Type definitions for mime 1.3 | ||
// Project: https://github.com/broofa/node-mime | ||
@@ -8,13 +8,14 @@ // Definitions by: Jeff Goddard <https://github.com/jedigo> | ||
export as namespace mime; | ||
export declare function lookup(path: string): string; | ||
export declare function extension(mime: string): string; | ||
export declare function load(filepath: string): void; | ||
export declare function define(mimes: Object): void; | ||
export function lookup(path: string, fallback: string): string; | ||
export function extension(mime: string): string; | ||
export function load(filepath: string): void; | ||
export function define(mimes: { [key: string]: any }): void; | ||
interface Charsets { | ||
export interface Charsets { | ||
lookup(mime: string): string; | ||
} | ||
export declare var charsets: Charsets; | ||
export declare var default_type: string; | ||
export const charsets: Charsets; | ||
export const default_type: string; |
{ | ||
"name": "@types/mime", | ||
"version": "0.0.29", | ||
"version": "1.3.0", | ||
"description": "TypeScript definitions for mime", | ||
"license": "MIT", | ||
"author": "Jeff Goddard <https://github.com/jedigo>", | ||
"contributors": [ | ||
{ | ||
"name": "Jeff Goddard", | ||
"url": "https://github.com/jedigo" | ||
} | ||
], | ||
"main": "", | ||
@@ -14,4 +19,5 @@ "repository": { | ||
"dependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "3ffa4132b090a4f452c7f9ad0263fda5008be71108fe473635886dc8d1437b58" | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "6a2b3d2dd50108712f2c91ef37eb70d024362cfaaf20a46325083ac27ec9a7c6", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,12 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/mime | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mime | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: none | ||
* Module Dependencies: none | ||
* Global values: none | ||
* Last updated: Thu, 15 Jun 2017 22:02:56 GMT | ||
* Dependencies: none | ||
* Global values: mime | ||
# Credits | ||
These definitions were written by Jeff Goddard <https://github.com/jedigo>. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2919
1
15
17