# netlify-headers-parser

> Parses Netlify headers into a JavaScript object representation

Latest version **7.1.4** (published 2024-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install netlify-headers-parser
pnpm add netlify-headers-parser
yarn add netlify-headers-parser
bun add netlify-headers-parser
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 7.1.4 |
| Published | 2024-02-13 |
| First published | 2021-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^14.16.0 \|\| >=16.0.0 |
| Dependencies | 6 |
| Unpacked size | 17.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 258 |
| Author | Netlify |
| Maintainers | denar90, kathmbeck, rj-netlify, akardet, pieh, hrishikeshk, sarahetter, orinokai, ericap, seanroberts, skn0tt, mikewen, biilmann, marcus.netlify, jgantunes, eduardoboucas, netlify-bot, nasiba, ascorbic, ehmicky |
| Keywords | netlify |

## Links

- npm: https://www.npmjs.com/package/netlify-headers-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-headers-parser

## Dependencies (6)

- [map-obj](https://npm.io/package/map-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.0.7
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^5.0.0

## Recent versions

- 7.1.4 (latest) — 2024-02-13
- 7.1.3 — 2024-01-08
- 7.1.2 — 2023-03-13
- 7.1.1 — 2023-01-18
- 7.1.0 — 2022-12-13
- 7.0.3 — 2022-11-21
- 7.0.2 — 2022-11-17
- 7.0.1 — 2022-11-01
- 7.0.0 — 2022-10-11
- 6.0.3 — 2022-10-10
- 6.0.2 — 2022-02-14
- 6.0.1 — 2022-01-17
- 6.0.0 — 2021-12-02
- 5.0.0 — 2021-11-25
- 4.0.1 — 2021-08-17
- … 10 more at https://npm.io/package/netlify-headers-parser/versions

## README

# Netlify Headers Parser

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

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