Package
url-pattern
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 335.8k
- +123% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v1.0.3
- GitHub stars
- 587
- 43 forks
- Open issues / PRs
- 8 / 5
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
335,778 downloads last week, 1,760,231 in the last month. The 12-month change of +123% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 019 in total
- Latest version
- 1.0.3, 17 Nov 20169 years ago
- First published
- 4 Dec 2012
- Last push to GitHub
- 6 Aug 20202,240 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 5
- Commits, last 52 weeks
- 0
- Dependents on npm
- 482
Major versions
- v1 first release 1.0.0, 19 Dec 2015
- v0 first release 0.1.0, 4 Dec 2012
Recent releases
| Version | Published |
|---|---|
| 1.0.3 | 17 Nov 2016 |
| 1.0.2 | 18 Oct 2016 |
| 1.0.1 | 29 Dec 2015 |
| 1.0.0 | 19 Dec 2015 |
| 0.10.2 | 9 Sept 2015 |
| 0.10.1 | 9 Sept 2015 |
| 0.10.0 | 19 Aug 2015 |
| 0.9.0 | 18 May 2015 |
| 0.8.0 | 24 Apr 2015 |
| 0.7.1 | 11 Apr 2015 |
| 0.7.0 | 22 Mar 2015 |
| 0.6.0 | 9 May 2014 |
| 0.5.0 | 11 Mar 2014 |
| 0.4.0 | 19 Feb 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=0.12.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install url-pattern- jsDelivr
https://cdn.jsdelivr.net/npm/url-pattern@1.0.3/ - unpkg
https://unpkg.com/url-pattern@1.0.3/ - esm.sh
https://esm.sh/url-pattern@1.0.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| node-match-path | 208.5k | - | 5 years ago | ESM + CommonJS | - |
| @medley/router | 9.4k | - | 6 years ago | CommonJS | - |
Indexability: Indexed.