This repository proposes creating a native web API to match URLs called URLPattern. URLPattern would support both web developer use in JS and native URL matching in other web APIs. For example, the initial use cases discuss using URLPattern for service worker scope matching.
For more information:
- The latest update describes the latest API shape and implementation status.
- The explainer discusses the motivating use cases and early API ideas.
- The design document goes into more detail, including webidl and how the API might be implemented in Chromium. Some of this has changed during implementation. See the latest update for the most recent API shape.
For questions, ideas, and feedback please use Github Discussions.