resolve-accept-language
Advanced tools
Changelog
3.0.0 (2024-03-05)
resolveAcceptLanguage
is now a named import for better dual (CommonJS/ESM) compatibility.resolveAcceptLanguage
now accepts an options
argument.ResolveAcceptLanguage
class has been replaced with resolveAcceptLanguage
used with the { returnMatchType: true }
option.languageSpecificLocale
, for more intelligent matches. See the README for more details.localeBased
to locale
, languageBased
to language
, and relatedLocaleBased
to relatedLocale
.