@har-sdk/core
Version:
The base package can be used to import specification files (i.e. HAR, OAS and Postman Collection) and detect their type.
6 lines (5 loc) • 320 B
TypeScript
export declare const removeTrailingSlash: (path: string) => string;
export declare const removeLeadingSlash: (path: string) => string;
export declare const parseUrl: (value: string) => URL;
export declare const validateUrl: (value: string | URL) => boolean;
export declare const normalizeUrl: (value: string) => string;