Package
@eggjs/router
Router middleware for egg/koa. Provides RESTful resource routing.
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- jsDelivr
https://cdn.jsdelivr.net/npm/@eggjs/router@3.0.6/ - unpkg
https://unpkg.com/@eggjs/router@3.0.6/ - esm.sh
https://esm.sh/@eggjs/router@3.0.6
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| express-file-routing | 16.6k | - | 1 year ago | ESM + CommonJS | - |
| next-connect | 87.3k | - | 3 years ago | ESM + CommonJS | - |
| ert | 16.3k | - | 13 years ago | CommonJS | - |
Indexability: Indexed.