</>PackageGraphPackageGraph

router

npmv2.2.0

Simple middleware-style router

48.5M
Weekly downloads
1
Dependents
11
Dependencies
95/100
Popularity

Overview

router is an npm package that simple middleware-style router. It is extremely widely used, with about 48.5M downloads per week and 1 known dependents in the graph. The latest version is 2.2.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need simple middleware-style router and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (48.5M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of router.

Dependencies

Dev (6)

finalhandler ^2.1.0mocha 10.2.0nyc 15.1.0run-series ^1.1.9standard ^17.1.0supertest 6.3.3

Used by

Popular packages that depend on router.

Frequently installed together

Version history

VersionPublishedLicense
2.2.0latest1 year agoMIT
2.1.01 year agoMIT
2.0.01 year agoMIT
2.0.0-beta.22 years agoMIT
1.3.83 years agoMIT
1.3.74 years agoMIT
1.3.64 years agoMIT
2.0.0-beta.16 years agoMIT
1.3.56 years agoMIT
1.3.46 years agoMIT
2.0.0-alpha.18 years agoMIT
1.3.38 years agoMIT
1.3.28 years agoMIT
1.3.19 years agoMIT
1.3.09 years agoMIT
1.2.09 years agoMIT
1.1.59 years agoMIT
1.1.410 years agoMIT
1.1.311 years agoMIT
1.1.211 years agoMIT

Maintainers

Frequently asked questions

How do I install router?

Run `npm install router` to add router to your npm project.

What license is router released under?

router is distributed under the MIT license.

How popular is router?

router has approximately 48,501,077 downloads per week and 1 known dependent packages.