# @vercel/routing-utils

> Vercel routing utilities

Latest version **6.5.0** (published 2026-08-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @vercel/routing-utils
pnpm add @vercel/routing-utils
yarn add @vercel/routing-utils
bun add @vercel/routing-utils
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 6.5.0 |
| Published | 2026-08-13 |
| First published | 2020-05-04 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16210 |
| Maintainers | matheuss, matt.straka, vercel-release-bot, zeit-bot |

## Links

- npm: https://www.npmjs.com/package/@vercel/routing-utils
- Repository: https://github.com/vercel/vercel
- Homepage: https://github.com/vercel/vercel#readme
- Issues: https://github.com/vercel/vercel/issues
- npm.io page: https://npm.io/package/@vercel/routing-utils

## Recent versions

- 6.5.0 (latest) — 2026-08-13
- 6.1.1 (canary) — 2026-03-24
- 6.4.1 — 2026-08-03
- 6.4.0 — 2026-06-25
- 6.3.1 — 2026-06-23
- 6.3.0 — 2026-06-10
- 6.2.0 — 2026-04-30
- 6.1.0 — 2026-03-21
- 6.0.2 — 2026-03-03
- 6.0.1 — 2026-02-27
- 6.0.0 — 2026-02-26
- 5.3.3 — 2026-02-13
- 5.4.0-canary.20260211174907.cdd2da6 — 2026-02-11
- 5.3.2 — 2026-01-12
- 5.3.1 — 2025-12-11
- … 96 more at https://npm.io/package/@vercel/routing-utils/versions

## README

# @vercel/routing-utils

Route validation utilities

## Usage

`npm add @vercel/routing-utils`

```ts
import { normalizeRoutes } from '@vercel/routing-utils';

const { routes, error } = normalizeRoutes(inputRoutes);

if (error) {
  console.log(error.code, error.message);
}
```

```ts
import { routesSchema } from '@vercel/routing-utils';

const ajv = new Ajv();
const validate = ajv.compile(routesSchema);
const valid = validate([{ src: '/about', dest: '/about.html' }]);

if (!valid) console.log(validate.errors);
```

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