UNPKG

node-request-interceptor

Version:

Low-level HTTP/HTTPS/XHR request interception library for NodeJS

5 lines (4 loc) 142 B
/** * Removes query parameters and hashes from a given URL. */ export declare function getCleanUrl(url: URL, isAbsolute?: boolean): string;