# @types/react-router

> TypeScript definitions for React Router

Latest version **5.1.20** (published 2022-12-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-router
pnpm add @types/react-router
yarn add @types/react-router
bun add @types/react-router
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.1.20 |
| Published | 2022-12-23 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 21.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-router
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router
- npm.io page: https://npm.io/package/@types/react-router

## Dependencies (2)

- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/history](https://npm.io/package/@types/history.md) ^4.7.11

## Recent versions

- 5.1.20 (latest) — 2022-12-23
- 5.1.19 (ts4.1) — 2022-09-13
- 5.1.18 (ts3.8) — 2022-01-18
- 5.1.17 (ts3.7) — 2021-10-06
- 5.1.16 (ts3.6) — 2021-07-07
- 5.1.14 (ts3.5) — 2021-05-05
- 5.1.12 (ts3.4) — 2021-03-01
- 5.1.11 (ts3.3) — 2021-01-08
- 5.1.8 (ts3.0) — 2020-06-22
- 5.1.7 (ts2.8) — 2020-04-26
- 4.0.25 (ts2.6) — 2018-05-08
- 4.0.21 (ts2.4) — 2018-01-24
- 4.0.18 (ts2.3) — 2017-11-21
- 4.0.11 (ts2.2) — 2017-06-01
- 3.0.8 (ts2.1) — 2017-03-13
- … 125 more at https://npm.io/package/@types/react-router/versions

## README

# Installation
> `npm install --save @types/react-router`

# Summary
This package contains type definitions for React Router (https://github.com/ReactTraining/react-router).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router.

### Additional Details
 * Last updated: Fri, 23 Dec 2022 11:02:45 GMT
 * Dependencies: [@types/history](https://npmjs.com/package/@types/history), [@types/react](https://npmjs.com/package/@types/react)
 * Global values: none

# Credits
These definitions were written by [Sergey Buturlakin](https://github.com/sergey-buturlakin), [Yuichi Murata](https://github.com/mrk21), [Václav Ostrožlík](https://github.com/vasek17), [Nathan Brown](https://github.com/ngbrown), [Alex Wendland](https://github.com/awendland), [Kostya Esmukov](https://github.com/KostyaEsmukov), [John Reilly](https://github.com/johnnyreilly), [Karol Janyst](https://github.com/LKay), [Dovydas Navickas](https://github.com/DovydasNavickas), [Huy Nguyen](https://github.com/huy-nguyen), [Jérémy Fauvel](https://github.com/grmiade), [Daniel Roth](https://github.com/DaIgeb), [Egor Shulga](https://github.com/egorshulga), [Rahul Raina](https://github.com/rraina), [Duong Tran](https://github.com/t49tran), [Ben Smith](https://github.com/8enSmith), [Wesley Tsai](https://github.com/wezleytsai), [Sebastian Silbermann](https://github.com/eps1lon), [Nicholas Hehr](https://github.com/HipsterBrown), and [Pawel Fajfer](https://github.com/pawfa).

---
_Source: https://npm.io/package/@types/react-router · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
