dead-deps — what happened to your dependencies

Is koa-router still maintained?

No. koa-router is no longer maintained. The same project continues under the name @koa/router.

Status
No longer maintained
Last maintained
Not pinned to a month
Use instead
@koa/router on npm
Succession
Renamed package
Drop-in
yes — swap the import
Confidence
high

What should I use instead of koa-router?

The same project continues under the name @koa/router. @koa/router is close enough to a drop-in replacement that most projects only change the dependency and the import.

How to migrate from koa-router to @koa/router

Change the dependency name and the require path; the API is identical, so new Router() and all route methods keep working. Check the major version, since @koa/router is ahead of the unscoped alias.

Why koa-router is on this list

Koa's router moved under the official @koa scope at version 9, and every koa-router release since June 2020 carries the npm notice "Please use @koa/router instead, starting from v9!". Both names are published from the koajs/router repository, so the unscoped package is best understood as a deprecated alias rather than an abandoned project — though it lags the scoped package by a major version. New work and documentation reference the scoped name.

The succession is settled: primary sources agree and the ecosystem has already moved.

koa-router alternatives

The dataset lists no second option: @koa/router is where the ecosystem went, and nothing else has meaningful adoption.

Check your own project for koa-router

npx dead-deps --all --min-state unmaintained

Run that in the directory holding your lockfile. If koa-router is anywhere in your tree — a direct dependency or buried under something else — it appears in the report with this verdict, this successor and the same evidence links, alongside anything else that has stopped moving. Nothing is uploaded; the scan reads your lockfile locally and queries public registry metadata.

Exit code 1 means something was flagged, which makes npx dead-deps --min-state deprecated usable as a CI gate. See how verdicts are produced.

Evidence

Every claim on this page traces to a primary source. Check them:

See the full index of covered packages, or read the methodology for how a verdict is reached and why a quiet package is not a dead one.