npm · npm:router
router active
Simple middleware-style router
The latest stable version of router is 2.2.0, published on 2025-03-27. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.2.0 |
|---|---|
| Published | 2025-03-27 00:38:18 UTC |
| Install | npm install router@latest |
| Requires (engines) | {"node":">= 18"} |
| Peer dependencies | — |
| Dist-tags | next: 2.1.0 latest: 2.2.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:48:55 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "router", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/router . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2025-03-27 00:38:18 UTC · 596 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 68 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.2.0 | 2025-03-27 00:38:18 UTC |
2.1.0 | 2025-02-10 20:00:53 UTC |
2.0.0 | 2024-09-09 22:44:58 UTC |
1.3.8 | 2023-02-24 16:42:38 UTC |
1.3.7 | 2022-04-28 16:52:30 UTC |
1.3.6 | 2021-11-16 00:12:56 UTC |
1.3.5 | 2020-03-25 03:22:05 UTC |
1.3.4 | 2020-01-25 02:19:30 UTC |
1.3.3 | 2018-07-06 16:01:51 UTC |
1.3.2 | 2017-09-25 01:33:18 UTC |
1.3.1 | 2017-05-20 04:38:11 UTC |
1.3.0 | 2017-02-26 07:00:30 UTC |
1.2.0 | 2017-02-18 06:42:40 UTC |
1.1.5 | 2017-01-29 01:33:39 UTC |
1.1.4 | 2016-01-22 04:03:10 UTC |
1.1.3 | 2015-08-03 05:22:24 UTC |
1.1.2 | 2015-07-07 03:29:08 UTC |
1.1.1 | 2015-05-26 05:15:38 UTC |
1.1.0 | 2015-04-23 02:58:58 UTC |
1.0.0 | 2015-01-14 07:03:06 UTC |
Showing the 20 most recent of 62 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.0 |
node 18 | 2.2.0 |
node 20 | 2.2.0 |
node 22 | 2.2.0 |
node 24 | 2.2.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of router?
The latest stable version of router is 2.2.0, published on 2025-03-27. Verified by Vigia on 2026-11-12.
How do I install the latest version of router?
Run npm install router@latest. The latest stable version is 2.2.0 (verified 2026-11-12).
Is router deprecated?
No. router is not marked as deprecated in the registry.
Which Node.js version does router require?
router 2.2.0 declares this requirement: {"node":">= 18"}.
Does router 2.2.0 have known vulnerabilities?
No known advisories affect router 2.2.0 according to the data Vigia checks.
Is router still maintained?
router published 0 stable releases in the last 12 months; the most recent was 596 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- lodash.isstring
- postgres-date
- on-headers
- p-retry
- array.prototype.tosorted
- micromark
- @inquirer/core
- @radix-ui/react-alert-dialog
- @babel/plugin-transform-shorthand-properties
- @types/uuid
- @grpc/grpc-js
- immutable
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/router) [](https://vigia.coredls.cloud/npm/router) [](https://vigia.coredls.cloud/npm/router)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/router
GET https://vigia.coredls.cloud/v1/packages/npm/router/versions/{version}