router 2.1.0
Simple middleware-style router
router@2.1.0 was published on 2025-02-10. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 18.
All router versions · Permanent reference to 2.1.0 · Latest release
Package specifications
| Version | 2.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2025-02-10T20:00:53.824Z |
| Node.js requirement | >= 18 |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 45.99 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 448 |
| Repository forks | 127 |
Install router 2.1.0
npm install router@2.1.0 pnpm add router@2.1.0 yarn add router@2.1.0
Runtime dependencies
- parseurl ^1.3.3
- is-promise ^4.0.0
- path-to-regexp ^8.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- is-promise@4.0.0 — direct
- parseurl@1.3.3 — direct
- path-to-regexp@8.4.2 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Code-Review | 9/10 — Found 27/29 approved changesets -- score normalized to 9 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 8/10 — dependency not pinned by hash detected -- score normalized to 8 |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 9/10 — security policy file detected |
| SAST | 7/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/router/2.1.0 — retrieved 2026-10-29T07:54:39.370Z
- https://api.deps.dev/v3/projects/github.com%2Fpillarjs%2Frouter — retrieved 2026-10-29T05:58:21.919Z
- https://api.deps.dev/v3/systems/npm/packages/router/versions/2.1.0 — retrieved 2026-10-29T07:54:39.895Z
- https://api.deps.dev/v3/systems/npm/packages/router/versions/2.1.0:dependencies — retrieved 2026-10-29T07:54:39.927Z