Accept-Language Parser

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

accept-language is a Node.js library designed to parse the HTTP Accept-Language header, enabling applications to determine the user's preferred language based on the browser's request. It adheres strictly to the BCP47 standard for language tag compliance, ensuring robust internationalization (i18n) support. The current stable version is 3.0.20, which was last updated over two years ago, indicating a mature and stable codebase with a slow release cadence focused on maintenance rather than frequent feature additions. A key differentiator of this library is its streamlined approach: it focuses on providing a single best-matched language tag from a pre-defined list, simplifying the process for common i18n use cases where a direct match is preferred over a ranked list of possibilities. This contrasts with other parsers that might return an array of parsed language objects or offer extensive, complex matching options.

total hits 52
actors 12 distinct systems
last hit 5d ago Bingbot
MetaBot
4
GPTBot
2
Script
1
Amazonbot
1
ByteDance
1
ClaudeBot
1
PerplexityBot
1
Search engines
11
Humans
21

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