# parse-accept-language

> Parse 'Accept-Language' header and cache the result in request.

Latest version **3.0.0** (published 2025-12-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install parse-accept-language
pnpm add parse-accept-language
yarn add parse-accept-language
bun add parse-accept-language
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2025-12-25 |
| First published | 2015-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 0 |
| Author | Damian Krzeminski |
| Maintainers | pirxpilot |
| Keywords | parse-accept-language, localization, connect, i18n, l10n |

## Links

- npm: https://www.npmjs.com/package/parse-accept-language
- Repository: https://github.com/pirxpilot/parse-accept-language
- Homepage: https://github.com/pirxpilot/parse-accept-language#readme
- Issues: https://github.com/pirxpilot/parse-accept-language/issues
- npm.io page: https://npm.io/package/parse-accept-language

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2025-12-25
- 2.1.1 — 2025-06-02
- 2.1.0 — 2025-01-10
- 2.0.0 — 2020-03-29
- 1.0.2 — 2017-02-20
- 1.0.1 — 2015-08-01
- 1.0.0 — 2015-05-09

## README

[![NPM version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Dependency Status][deps-image]][deps-url]

# parse-accept-language

Parse 'Accept-Language' header and cache the result in request.

## Install

```sh
$ npm install --save parse-accept-language
```

## Usage

```js
var parseAcceptLanguage = require('parse-accept-language');

var pal = parseAcceptLanguage(req);
```

## License

MIT © [Damian Krzeminski](https://pirxpilot.me)

[npm-image]: https://img.shields.io/npm/v/parse-accept-language
[npm-url]: https://npmjs.org/package/parse-accept-language

[build-url]: https://github.com/pirxpilot/parse-accept-language/actions/workflows/check.yaml
[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/parse-accept-language/check.yaml?branch=main

[deps-image]: https://img.shields.io/librariesio/release/npm/parse-accept-language
[deps-url]: https://libraries.io/npm/parse-accept-language

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