{"id":15092602,"url":"https://github.com/denosaurs/urlpattern","last_synced_at":"2025-07-01T04:08:34.242Z","repository":{"id":62422262,"uuid":"404381313","full_name":"denosaurs/urlpattern","owner":"denosaurs","description":"📋 A polyfill for URLPattern for web-browsers, older versions of deno and non-unstable deno","archived":false,"fork":false,"pushed_at":"2022-01-11T10:03:10.000Z","size":1028,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-04T21:55:38.940Z","etag":null,"topics":["deno","rust","typescript","urlpattern"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denosaurs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"open_collective":"denosaurs","github":"denosaurs"}},"created_at":"2021-09-08T14:34:47.000Z","updated_at":"2025-04-17T18:22:42.000Z","dependencies_parsed_at":"2022-11-01T17:33:12.862Z","dependency_job_id":null,"html_url":"https://github.com/denosaurs/urlpattern","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/denosaurs/urlpattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Furlpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Furlpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Furlpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Furlpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denosaurs","download_url":"https://codeload.github.com/denosaurs/urlpattern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denosaurs%2Furlpattern/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259920582,"owners_count":22932172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deno","rust","typescript","urlpattern"],"created_at":"2024-09-25T11:01:24.985Z","updated_at":"2025-07-01T04:08:34.187Z","avatar_url":"https://github.com/denosaurs.png","language":"TypeScript","funding_links":["https://opencollective.com/denosaurs","https://github.com/sponsors/denosaurs"],"categories":[],"sub_categories":[],"readme":"# URLPattern polyfill\n\nThis module is a polyfill implementing the\n[`URLPattern` web API](https://github.com/WICG/urlpattern) api in wasm and js.\nWe use the crate [rust-urlpattern](https://github.com/denoland/rust-urlpattern)\nfrom [denoland](https://github.com/denoland/rust-urlpattern) which is the same\nas is used internally in the deno runtime.\n\nThe module works both in deno (for when the `unstable` flag is not passed as is\nthe case until the deno api is stabilized) and in the browser.\n\n## Usage\n\nUsing `URLPattern` is as simple as:\n\n```ts\nimport { URLPattern } from \"https://deno.land/x/urlpattern/mod.ts\";\n\nconst pattern = new URLPattern(\"/:some/:pattern\", \"https://example.com/some/pattern)\n```\n\nOr in case you want to automatically register the `URLPattern` object globally\nto the `window` object (in case it does not already exist):\n\n```ts\nimport \"https://deno.land/x/urlpattern/auto.ts\";\n\nconst pattern = new URLPattern(\"/:some/:pattern\", \"https://example.com/some/pattern)\n```\n\n## Maintainers\n\n- Elias Sjögreen ([@eliassjogreen](https://github.com/eliassjogreen))\n\n## Other\n\n### Contribution\n\nPull request, issues and feedback are very welcome. Code style is formatted with\n`deno fmt` and commit messages are done following Conventional Commits spec.\n\n### Licence\n\nCopyright 2021, the denosaurs team. All rights reserved. MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Furlpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenosaurs%2Furlpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenosaurs%2Furlpattern/lists"}