Skip to content
JS
Package

preact-router

Connect your components up to that address bar.

v4.1.2, 21 Jul 2023MITESM + CommonJSTypes: BundledRouting
$ npm install preact-router

Key numbers

As of 25 Sept 2026
Weekly downloads
37k
+62% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v4.1.2
GitHub stars
1.1k
150 forks
Open issues / PRs
74 / 22
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 60.4k (3 Mar 2026)Low 9.7k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

36,964 downloads last week, 128,409 in the last month. The 12-month change of +62% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.1.2, 21 Jul 20233 years ago
First published
-
Last push to GitHub
29 Jul 2024787 days before the snapshot
Repository archived
No
Open issues
74
Open pull requests
22
Commits, last 52 weeks
0
Dependents on npm
122

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
81 kB
Dependencies (0)
None
Peer dependencies (1)
preact
npm install preact-router
  • jsDelivrhttps://cdn.jsdelivr.net/npm/preact-router@4.1.2/
  • unpkghttps://unpkg.com/preact-router@4.1.2/
  • esm.shhttps://esm.sh/preact-router@4.1.2
PackageWeekly downloadsGzipLast releaseModuleComparison
wouter-preact21.6k-10 days agoESM only-
react-resource-router10.8k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.