@types/maxmind
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
// Type definitions for maxmind v1.3 | ||
// Type definitions for maxmind v2.0 | ||
// Project: https://github.com/runk/node-maxmind | ||
@@ -6,3 +6,5 @@ // Definitions by: Joshua DeVinney <https://github.com/geoffreak> | ||
export declare function open(database: string, opts?: Options): Reader; | ||
export declare function open(database: string, cb: (err: Error, reader: Reader) => void): void; | ||
export declare function open(database: string, opts: Options, cb: (err: Error, reader: Reader) => void): void; | ||
export declare function openSync(database: string, opts?: Options): Reader; | ||
export declare function validate(ip: string): boolean; | ||
@@ -9,0 +11,0 @@ |
{ | ||
"name": "@types/maxmind", | ||
"version": "1.3.1", | ||
"description": "TypeScript definitions for maxmind v1.3", | ||
"version": "2.0.2", | ||
"description": "TypeScript definitions for maxmind v2.0", | ||
"license": "MIT", | ||
@@ -14,4 +14,5 @@ "author": "Joshua DeVinney <https://github.com/geoffreak>", | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "806dad109f4b9b28ed00a2fc0c1059e1975fc32ed6d89276cf557c1f2838c953" | ||
"typesPublisherContentHash": "62cafc100d41460e81d491cdc74833d0a2e7942352ad8683075651958a245d16" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for maxmind v1.3 (https://github.com/runk/node-maxmind). | ||
This package contains type definitions for maxmind v2.0 (https://github.com/runk/node-maxmind). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Sun, 25 Sep 2016 23:34:51 GMT | ||
* Last updated: Thu, 13 Oct 2016 19:19:49 GMT | ||
* File structure: ProperModule | ||
@@ -15,0 +15,0 @@ * Library Dependencies: none |
@@ -6,5 +6,5 @@ { | ||
"moduleDependencies": [], | ||
"libraryMajorVersion": "1", | ||
"libraryMinorVersion": "3", | ||
"libraryName": "maxmind v1.3", | ||
"libraryMajorVersion": "2", | ||
"libraryMinorVersion": "0", | ||
"libraryName": "maxmind v2.0", | ||
"typingsPackageName": "maxmind", | ||
@@ -23,3 +23,3 @@ "projectName": "https://github.com/runk/node-maxmind", | ||
"hasPackageJson": false, | ||
"contentHash": "806dad109f4b9b28ed00a2fc0c1059e1975fc32ed6d89276cf557c1f2838c953" | ||
"contentHash": "62cafc100d41460e81d491cdc74833d0a2e7942352ad8683075651958a245d16" | ||
} |
4233
6.04%91
2.25%