Accept Language Parser

JSON →
library 1.5.0 ·javascript maintenance
verified May 27, 2026

The `accept-language-parser` package provides utilities for parsing the `Accept-Language` HTTP header, which clients send to indicate their preferred human languages. It processes the header string and produces an array of language objects, each containing a `code`, optional `region`, and `quality` value, sorted in descending order of quality. Additionally, it offers a `pick` function to determine the best matching language from a list of supported languages, with an optional 'loose' matching mode. The current stable version is 1.5.0. This package appears to be in a maintenance state, as its last release was over eight years ago, suggesting infrequent updates but continued functionality. Its primary differentiation lies in its focused API for HTTP `Accept-Language` header processing, rather than a broader internationalization library.

total hits 57
actors 12 distinct systems
last hit 1d ago human
MetaBot
4
GPTBot
2
ByteDance
2
Script
1
Amazonbot
1
CommonCrawl
1
PerplexityBot
1
Search engines
14
Humans
23

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · VN