Preparing for system design interviews?  Try bugzed.com →

Accept Language Parser

JSON →
library 1.5.0 ·javascript maintenance
verified Jun 17, 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 50
actors 6 distinct systems
last hit 16d ago human
Amazonbot
4
ByteDance
2
Script
1
Search engines
22
Humans
17

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇨🇳 China