Skip to content
JS
Package

url-pattern

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

v1.0.3, 17 Nov 2016MITCommonJSTypes: BundledRoutingURLs and query strings
$ npm install url-pattern

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
0200k400k600kSept 2025Mar 2026Sept 2026High 541.3k (4 Aug 2026)Low 100.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v1 first release 1.0.0, 19 Dec 2015
  2. v0 first release 0.1.0, 4 Dec 2012

Recent releases

VersionPublished
1.0.317 Nov 2016
1.0.218 Oct 2016
1.0.129 Dec 2015
1.0.019 Dec 2015
0.10.29 Sept 2015
0.10.19 Sept 2015
0.10.019 Aug 2015
0.9.018 May 2015
0.8.024 Apr 2015
0.7.111 Apr 2015
0.7.022 Mar 2015
0.6.09 May 2014
0.5.011 Mar 2014
0.4.019 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/url-pattern@1.0.3/
  • unpkghttps://unpkg.com/url-pattern@1.0.3/
  • esm.shhttps://esm.sh/url-pattern@1.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
node-match-path208.5k-5 years agoESM + CommonJS-
@medley/router9.4k-6 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.