Installations
npm install i18next
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
23.3.0
NPM Version
10.9.0
Score
94.6
Supply Chain
89.6
Quality
96.6
Maintenance
100
Vulnerability
99.6
License
Releases
Contributors
Languages
JavaScript (84.43%)
TypeScript (15.3%)
HTML (0.25%)
Shell (0.02%)
Developer
Download Statistics
Total Downloads
803,840,163
Last Day
215,738
Last Week
6,356,003
Last Month
26,433,383
Last Year
279,653,699
GitHub Statistics
7,844 Stars
2,306 Commits
648 Forks
82 Watching
17 Branches
221 Contributors
Bundle Size
43.95 kB
Minified
12.84 kB
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
24.2.0
Package Id
i18next@24.2.0
Unpacked Size
556.85 kB
Size
124.94 kB
File Count
18
NPM Version
10.9.0
Node Version
23.3.0
Publised On
20 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
803,840,163
Last day
-10.1%
215,738
Compared to previous day
Last week
-3.9%
6,356,003
Compared to previous week
Last month
-5%
26,433,383
Compared to previous month
Last year
35.4%
279,653,699
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Peer Dependencies
1
Dev Dependencies
38
i18next: learn once - translate everywhere
i18next is a very popular internationalization framework for browser or any other javascript environment (eg. Node.js, Deno).
i18next provides:
- Flexible connection to backend (loading translations via xhr, ...)
- Optional caching, user language detection, ...
- Proper pluralizations
- Translation context
- Nesting, Variable replacement
- Flexibility: Use it everywhere
- Extensibility: eg. sprintf
- ...
For more information visit the website:
Our focus is providing the core to building a booming ecosystem. Independent of the building blocks you choose, be it react, angular or even good old jquery proper translation capabilities are just one step away.
Documentation
The general i18next documentation is published on www.i18next.com and PR changes can be supplied here.
The react specific documentation is published on react.i18next.com and PR changes can be supplied here.
Gold Sponsors
From the creators of i18next: localization as a service - locize.com
A translation management system built around the i18next ecosystem - locize.com.
With using locize you directly support the future of i18next.
Stable Version
Stable Version
24.2.0
MODERATE
2
6.1/10
Summary
Cross-Site Scripting in i18next
Affected Versions
<= 1.10.2
Patched Versions
1.10.3
6.1/10
Summary
Cross-Site Scripting in i18next
Affected Versions
>= 2.0.0, < 3.4.4
Patched Versions
3.4.4
Reason
30 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
Reason
Found 5/30 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/CI.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/i18next/i18next/CI.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:27
- Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:48
- Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:76
- Warn: npmCommand not pinned by hash: .github/workflows/CI.yml:103
- Info: 0 out of 8 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 4 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 6 are checked with a SAST tool
Score
3.7
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to i18next
react-i18next
Internationalization for react done right. Using the i18next i18n ecosystem.
i18next-browser-languagedetector
language detector used in browser environment for i18next
i18next-http-backend
i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
i18next-fs-backend
i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem.