── POPULAR TAGS ──
#python (664)
#typescript (613)
#cli (562)
#hacktoberfest (493)
#cli-tool (487)
#react (481)
#javascript (449)
#rust (418)
#cross-platform (388)
#go (371)
#devops (317)
#ai (304)
#nodejs (298)
#llm (297)
#golang (288)
#android (271)
#open-source (255)
#docker (249)
#machine-learning (221)
#java (217)
#plugin-system (215)
#monorepo (214)
#security (213)
#self-hosted (211)
#linux (207)
#mcp (204)
#awesome-list (197)
#plugin-architecture (195)
#ai-agents (187)
#deep-learning (187)
This repository provides the official browser language detection plugin for i18next. It implements a modular strategy pattern where each detector (cookie, querystring, localStorage, sessionStorage, navigator, htmlTag, path, subdomain, hash) is a self-contained module with a consistent interface. The main `Browser` class orchestrates detection by iterating through a configurable order of detectors, filters out XSS vectors, and optionally converts detected language codes. The code is well-structured, tested, and production-grade; the cookie detector in particular includes a robust RFC-compliant serialization function. Everything is browser-native with no heavy dependencies beyond i18next itself.
RATING:
MAINT: active
DRIFT: low
▸ 2 reusable components found
── end of results ──