# @tinkoff/router

> router

Latest version **0.6.315** (published 2026-09-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @tinkoff/router
pnpm add @tinkoff/router
yarn add @tinkoff/router
bun add @tinkoff/router
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.6.315 |
| Published | 2026-09-03 |
| First published | 2021-09-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 220 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 130 |
| Maintainers | tinkoffbank, dmitry-korolev, yeahga, hondasmx, makar_l, rouland, ishivan, ytsareva, shoom3301, waterplea, meskill, marsibarsi, zig-green, super_oleg, dersizes, alexkvak, sradyukov |

## Links

- npm: https://www.npmjs.com/package/@tinkoff/router
- Repository: https://github.com/tramvaijs/tramvai
- Homepage: https://github.com/tramvaijs/tramvai#readme
- Issues: https://github.com/tramvaijs/tramvai/issues
- npm.io page: https://npm.io/package/@tinkoff/router

## Dependencies (5)

- [@tinkoff/url](https://npm.io/package/@tinkoff/url.md) 0.12.4
- [@tinkoff/utils](https://npm.io/package/@tinkoff/utils.md) ^2.1.2
- [@tinkoff/hook-runner](https://npm.io/package/@tinkoff/hook-runner.md) 0.8.4
- [@tinkoff/react-hooks](https://npm.io/package/@tinkoff/react-hooks.md) 0.5.4
- [use-sync-external-store](https://npm.io/package/use-sync-external-store.md) ^1.4.0

## Recent versions

- 0.6.315 (latest) — 2026-09-03
- 0.7.167 (prerelease) — 2026-09-03
- 0.5.298 (stable-v5.x.x) — 2026-08-12
- 0.4.259 (stable-v4.x.x) — 2025-09-26
- 0.3.212 (stable-v3.x.x) — 2025-01-26
- 0.7.159 — 2026-08-28
- 0.6.307 — 2026-08-28
- 0.7.155 — 2026-08-28
- 0.6.303 — 2026-08-27
- 0.7.154 — 2026-08-25
- 0.6.302 — 2026-08-25
- 0.7.153 — 2026-08-20
- 0.7.150 — 2026-08-18
- 0.6.299 — 2026-08-18
- 0.7.149 — 2026-08-17
- … 500 more at https://npm.io/package/@tinkoff/router/versions

## README

# @tinkoff/router

Routing library. It can work both on the server and on the client. Designed primarily for building isomorphic applications.

Link to complete Router documentation - https://tramvai.dev/docs/features/routing/overview/

## Installation

You need to install `@tinkoff/router`:

```bash
yarn add @tinkoff/router
```

And connect it to the project:

```tsx
import { Router, SpaHistory } from '@tinkoff/router';
import { NoSpaRouter } from '@tinkoff/router';

const spaRouter = new Router({ history: new SpaHistory() });
const noSpaRouter = new NoSpaRouter();
```

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