Skip to content
JS
Package

os-locale

Get the system locale

v8.0.0, 4 Feb 2026MITESM onlyTypes: Bundled
$ npm install os-locale

Key numbers

As of 25 Sept 2026
Weekly downloads
6.9m
-2% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v8.0.0
GitHub stars
230
42 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 9.9m (25 Nov 2025)Low 3.2m (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.

6,893,164 downloads last week, 25,801,475 in the last month. The 12-month change of -2% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
119 in total
Latest version
8.0.0, 4 Feb 20267 months ago
First published
16 Mar 2015
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
3
Dependents on npm
645

Major versions

  1. v8 first release 8.0.0, 4 Feb 2026
  2. v6 first release 6.0.0, 29 Jul 2021
  3. v5 first release 5.0.0, 22 Mar 2020
  4. v4 first release 4.0.0, 11 Jun 2019
  5. v3 first release 3.0.0, 6 Aug 2018
  6. v2 first release 2.0.0, 16 Nov 2016
  7. v1 first release 1.0.0, 16 Mar 2015

Recent releases

VersionPublished
8.0.04 Feb 2026
6.0.223 Dec 2021
6.0.17 Oct 2021
6.0.029 Jul 2021
5.0.022 Mar 2020
4.0.011 Jun 2019
3.1.026 Dec 2018
3.0.131 Aug 2018
3.0.06 Aug 2018
2.1.021 Jul 2017
2.0.016 Nov 2016
1.4.08 Sept 2015
1.3.13 Sept 2015
1.3.03 Sept 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
3.4 kB
Dependencies (0)
None
npm install os-locale
  • jsDelivrhttps://cdn.jsdelivr.net/npm/os-locale@8.0.0/
  • unpkghttps://unpkg.com/os-locale@8.0.0/
  • esm.shhttps://esm.sh/os-locale@8.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.