Skip to content
JS
Package

get-user-locale

Returns a list of strings representing the user's preferred languages.

v3.0.0, 20 Mar 2025MITESM onlyTypes: BundledInternationalisation
$ npm install get-user-locale

Key numbers

As of 25 Sept 2026
Weekly downloads
848.1k
+9% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v3.0.0
GitHub stars
63
11 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
39

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (21 Jul 2026)Low 438.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

848,088 downloads last week, 4,176,355 in the last month. The 12-month change of +9% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
019 in total
Latest version
3.0.0, 20 Mar 20251 year ago
First published
15 Aug 2018
Last push to GitHub
9 Sept 202615 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
39
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 20 Mar 2025
  2. v2 first release 2.0.0, 28 Sept 2022
  3. v1 first release 1.0.0, 15 Aug 2018

Recent releases

VersionPublished
3.0.020 Mar 2025
2.3.219 Apr 2024
2.3.118 Oct 2023
2.3.03 Jul 2023
2.2.18 Mar 2023
2.2.02 Mar 2023
2.1.32 Feb 2023
2.1.212 Jan 2023
2.1.111 Jan 2023
2.1.09 Jan 2023
2.0.028 Sept 2022
1.5.14 Aug 2022
1.5.029 Jul 2022
1.4.022 Jun 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (1)
memoize
npm install get-user-locale
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-user-locale@3.0.0/
  • unpkghttps://unpkg.com/get-user-locale@3.0.0/
  • esm.shhttps://esm.sh/get-user-locale@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@fluent/langneg22.9k-3 years agoESM + CommonJS-
windows-locale74.3k-18 days agoESM + CommonJS-
@fluent/bundle64.1k-1 year agoESM + CommonJS-
@fluent/syntax264.2k-3 years agoESM + CommonJS-
@fluent/react13.6k-3 years agoESM + CommonJS-
locale-code9.9k-7 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.