# @netlify/redirect-parser

> Parses netlify redirects into a js object representation

Latest version **16.1.1** (published 2026-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @netlify/redirect-parser
pnpm add @netlify/redirect-parser
yarn add @netlify/redirect-parser
bun add @netlify/redirect-parser
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 16.1.1 |
| Published | 2026-08-19 |
| First published | 2024-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 2 |
| Unpacked size | 20.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 259 |
| Author | Netlify |
| Maintainers | netlify-bot, mikewen, youvalv, serhalp-netlify, mlgualtieri-gatsby |
| Keywords | netlify |

## Links

- npm: https://www.npmjs.com/package/@netlify/redirect-parser
- Repository: https://github.com/netlify/build
- Homepage: https://github.com/netlify/build#readme
- Issues: https://github.com/netlify/build/issues
- npm.io page: https://npm.io/package/@netlify/redirect-parser

## Dependencies (2)

- [smol-toml](https://npm.io/package/smol-toml.md) ^1.5.2
- [fast-safe-stringify](https://npm.io/package/fast-safe-stringify.md) ^2.1.1

## Recent versions

- 16.1.1 (latest) — 2026-08-19
- 16.1.0 — 2026-07-17
- 16.0.0 — 2026-06-16
- 15.0.4 — 2026-02-25
- 15.0.3 — 2025-07-31
- 15.0.2 — 2025-05-29
- 15.0.1 — 2025-05-21
- 15.0.0 — 2025-05-14
- 14.5.1 — 2025-03-20
- 14.5.0 — 2024-12-14
- 14.4.0 — 2024-12-13

## README

# Netlify Redirect Parser

Parses redirect rules from both `_redirects` and `netlify.toml` and normalizes them to an array of objects

For most users, you are not meant to use this directly, please refer to https://github.com/netlify/cli instead. However
if you are debugging issues with redirect parsing, issues and PRs are welcome.

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