# netlify-redirect-parser

> Parses netlify redirects into a js object representation

Latest version **14.4.0** (published 2024-12-11) · 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 55/100 (C)** — status: stable.

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

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 14.4.0 |
| Published | 2024-12-11 |
| First published | 2019-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^14.16.0 \|\| >=16.0.0 |
| Dependencies | 5 |
| Unpacked size | 20.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 258 |
| Author | Netlify |
| Maintainers | seanroberts, biilmann, eduardoboucas, netlify-bot, orinokai, akardet, sarahetter, mikewen, kathmbeck, hrishikeshk, vitaliyr, denar90, smnh, berdav, youvalv, pieh, serhalp-netlify, raeesbhatti, sw-yx |
| 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 (5)

- [filter-obj](https://npm.io/package/filter-obj.md) ^5.0.0
- [@iarna/toml](https://npm.io/package/@iarna/toml.md) ^2.2.5
- [path-exists](https://npm.io/package/path-exists.md) ^5.0.0
- [is-plain-obj](https://npm.io/package/is-plain-obj.md) ^4.0.0
- [fast-safe-stringify](https://npm.io/package/fast-safe-stringify.md) ^2.1.1

## Recent versions

- 14.4.0 (latest) — 2024-12-11
- 14.3.0 — 2024-05-08
- 14.2.2 — 2024-02-13
- 14.2.1 — 2024-01-08
- 14.2.0 — 2023-08-08
- 14.1.3 — 2023-06-09
- 14.1.2 — 2023-03-13
- 14.1.1 — 2023-01-18
- 14.1.0 — 2022-12-13
- 14.0.2 — 2022-11-17
- 14.0.1 — 2022-10-28
- 14.0.0 — 2022-10-11
- 13.0.6 — 2022-10-10
- 13.0.5 — 2022-02-28
- 13.0.4 — 2022-02-24
- … 72 more at https://npm.io/package/netlify-redirect-parser/versions

## 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._
