UNPKG

compare-path

Version:

An easy-to-use package to detect if two URLs match each other by comparing their abstract paths

6 lines 229 B
/** * Remove any leading/trailing whitespace and slashes adn remove multiple consecutive slashes (/) * anywhere in the path. */ export declare const cleanPath: (path: string) => string; //# sourceMappingURL=clean-path.d.ts.map