Skip to content
JS
Package

locale-codes

Language codes & country codes

v2.0.0, 6 Sept 2026MITESM + CommonJSTypes: BundledInternationalisation
$ npm install locale-codes

Key numbers

As of 25 Sept 2026
Weekly downloads
70.1k
+172% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
18 days ago
v2.0.0
GitHub stars
74
9 forks
Open issues / PRs
0 / 2
Contributors
-
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 122.4k (25 Aug 2026)Low 16.4k (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.

70,067 downloads last week, 402,425 in the last month. The 12-month change of +172% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.0, 6 Sept 202618 days ago
First published
-
Last push to GitHub
6 Sept 202618 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
2
Commits, last 52 weeks
10
Dependents on npm
31

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
73 kB
Dependencies (3)
langsiso639-codeswindows-locale
npm install locale-codes
  • jsDelivrhttps://cdn.jsdelivr.net/npm/locale-codes@2.0.0/
  • unpkghttps://unpkg.com/locale-codes@2.0.0/
  • esm.shhttps://esm.sh/locale-codes@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@fluent/langneg22.9k-3 years agoESM + CommonJS-
@fluent/dom6.1k-1 year agoESM + CommonJS-
@fluent/bundle64.1k-1 year agoESM + CommonJS-
@fluent/syntax264.2k-3 years agoESM + CommonJS-
@fluent/react13.6k-3 years agoESM + CommonJS-
locale211.2k-8 years agoCommonJS-
country-to-currency71.8k-3 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.