# Installation
> `npm install --save @types/url-match-patterns`

# Summary
This package contains type definitions for url-match-patterns (https://github.com/nickclaw/url-match-patterns).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-match-patterns.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-match-patterns/index.d.ts)
````ts
/**
 * Checks if a pattern matches against a URL
 *
 * @param pattern The pattern to match against
 * @param url The URL to match
 * @returns Whether the URL matched the pattern
 * @throws {AssertionError} Invalid pattern
 */
declare function match(pattern: string): (url: string) => boolean;
declare function match(pattern: string, url: string): boolean;

export default match;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Lionel Rowe](https://github.com/lionel-rowe).
