@pushrocks/smartstring
Version:
handle strings in smart ways. TypeScript ready.
23 lines (22 loc) • 567 B
TypeScript
/// <reference types="node" resolution-mode="require"/>
import * as plugins from './smartstring.plugins.js';
export declare class Domain {
fullName: string;
level1: string;
level2: string;
level3: string;
level4: string;
level5: string;
protocol: string;
zoneName: string;
topLevel: string;
domainName: any;
subDomain: any;
port: any;
nodeParsedUrl: plugins.url.UrlWithStringQuery;
constructor(domainStringArg: string);
/** */
private _domainRegex;
private _protocolRegex;
private _portRegex;
}