@citrineos/util
Version:
The OCPP util module which supplies helpful utilities like cache and queue connectors, etc.
15 lines (14 loc) • 394 B
TypeScript
/**
* Utility for matching URLs against patterns
*/
export declare class UrlMatcher {
/**
* Check if a URL matches a pattern
* Supports exact matches, wildcards, and path parameters
*
* @param url URL to check
* @param pattern Pattern to match against
* @returns True if URL matches pattern
*/
static match(url: string, pattern: string): boolean;
}