Installation
npm install --save @types/extract-domain
Summary
This package contains type definitions for extract-domain (https://github.com/bjarneo/extract-domain).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extract-domain.
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 | undefined;
}
}
export as namespace extractDomain;
export = extractDomain;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.