@types/extract-domain
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
// Type definitions for extract-domain 2.2 | ||
// Type definitions for extract-domain 2.3 | ||
// Project: https://github.com/bjarneo/extract-domain | ||
@@ -10,6 +10,12 @@ // Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
*/ | ||
declare function extractDomain(url: string): string; | ||
declare function extractDomain(urls: string[]): string[]; | ||
declare function extractDomain(url: string, opts?: extractDomain.Options): string; | ||
declare function extractDomain(urls: string[], options?: extractDomain.Options): string[]; | ||
declare namespace extractDomain { | ||
interface Options { | ||
tld?: boolean; | ||
} | ||
} | ||
export as namespace extractDomain; | ||
export = extractDomain; |
{ | ||
"name": "@types/extract-domain", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "TypeScript definitions for extract-domain", | ||
@@ -22,4 +22,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "896501a33b22f634daba0787070eb82edf447e42a778a0b79819710df0bf7d5a", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "6bcfe5472f18a9b695535f0e337999785317c04cd20deff16ed6d7fef2aff879", | ||
"typeScriptVersion": "3.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 29 Dec 2020 09:20:24 GMT | ||
* Last updated: Tue, 18 May 2021 16:01:39 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `extractDomain` |
3104
5.18%17
41.67%