UNPKG

mockttp-mvs

Version:

Mock HTTP server for testing HTTP clients and stubbing webservices

8 lines (7 loc) 279 B
/** * Normalizes URLs to the form used when matching them. * * This accepts URLs in all three formats: relative, absolute, and protocolless-absolute, * and returns them in the same format but normalized. */ export declare const normalizeUrl: (url: string) => string;