Skip to content
JS
Package

@eggjs/router

Router middleware for egg/koa. Provides RESTful resource routing.

v3.0.6, 27 Mar 2025MITESM + CommonJSTypes: BundledRoutingHTTP servers and web frameworks
$ npm install @eggjs/router

Key numbers

As of 25 Sept 2026
Weekly downloads
18.7k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
1 year ago
v3.0.6
GitHub stars
50
7 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

18,719 downloads last week, 86,335 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
3.0.6, 27 Mar 20251 year ago
First published
-
Last push to GitHub
27 Mar 2025546 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
17

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 18.19.0
Runtimes
-
Unpacked size (npm)
308 kB
Dependencies (8)
urijsmethodsutilityinflectionis-type-ofhttp-errorskoa-composepath-to-regexp
npm install @eggjs/router
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@eggjs/router@3.0.6/
  • unpkghttps://unpkg.com/@eggjs/router@3.0.6/
  • esm.shhttps://esm.sh/@eggjs/router@3.0.6
PackageWeekly downloadsGzipLast releaseModuleComparison
express-file-routing16.6k-1 year agoESM + CommonJS-
next-connect87.3k-3 years agoESM + CommonJS-
ert16.3k-13 years agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.