Skip to content
JS
Package

gettext.js

gettext.js is a lightweight (3kB minified!) but complete and accurate GNU gettext port for Node.js and the browser. Manage your i18n translations the right way in your JavaScript projects.

v2.0.3MITESM + CommonJSTypes: None
$ npm install gettext.js

Key numbers

As of 25 Sept 2026
Weekly downloads
5.6k
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
-
v2.0.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 15k (12 May 2026)Low 2.6k (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.

5,601 downloads last week, 30,911 in the last month. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.3
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
92 kB
Dependencies (1)
po2json
npm install gettext.js

CDN

jsDelivr: 104k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/gettext.js@2.0.3/
  • unpkghttps://unpkg.com/gettext.js@2.0.3/
  • esm.shhttps://esm.sh/gettext.js@2.0.3
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 5601 < 10000; completeness 0.5 < 0.6 (missing: github_owner, stars, release_date, category); GitHub data not fetched yet; no category.