react-router-dom 6.22.1
Declarative routing for React web applications
react-router-dom@6.22.1 was published on 2024-02-16. Its manifest declares 2 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=14.0.0.
All react-router-dom versions · Permanent reference to 6.22.1 · Latest release
Package specifications
| Version | 6.22.1 |
|---|---|
| License declaration | MIT |
| Published | 2024-02-16T20:36:03.363Z |
| Node.js requirement | >=14.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 856.53 KiB |
| Published file count | 23 |
| Package type | Not declared |
| ES module entry | ./dist/index.js |
| Default entry | ./dist/main.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 56628 |
| Repository forks | 10952 |
Install react-router-dom 6.22.1
npm install react-router-dom@6.22.1 pnpm add react-router-dom@6.22.1 yarn add react-router-dom@6.22.1
Runtime dependencies
- react-router 6.22.1
- @remix-run/router 1.15.1
Peer requirements
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @remix-run/router@1.15.1 — direct
- react-router@6.22.1 — 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.
| Code-Review | 3/10 — Found 9/27 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/react-router-dom/6.22.1 — retrieved 2026-10-29T10:08:33.169Z
- https://api.deps.dev/v3/projects/github.com%2Fremix-run%2Freact-router — retrieved 2026-10-29T05:58:27.205Z
- https://api.deps.dev/v3/systems/npm/packages/react-router-dom/versions/6.22.1 — retrieved 2026-10-29T10:08:33.862Z
- https://api.deps.dev/v3/systems/npm/packages/react-router-dom/versions/6.22.1:dependencies — retrieved 2026-10-29T10:08:33.882Z