Gathering detailed insights and metrics for @lingui/core
Gathering detailed insights and metrics for @lingui/core
Gathering detailed insights and metrics for @lingui/core
Gathering detailed insights and metrics for @lingui/core
🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
npm install @lingui/core
Typescript
Module System
Min. Node Version
Node Version
NPM Version
56
Supply Chain
72.6
Quality
95.5
Maintenance
100
Vulnerability
98.9
License
TypeScript (90.01%)
MDX (6.4%)
JavaScript (1.9%)
SCSS (1.5%)
Vue (0.18%)
Shell (0.01%)
Total Downloads
33,773,888
Last Day
8,572
Last Week
261,403
Last Month
1,149,697
Last Year
12,068,389
4,768 Stars
2,505 Commits
386 Forks
32 Watching
7 Branches
220 Contributors
Latest Version
5.1.2
Package Id
@lingui/core@5.1.2
Unpacked Size
47.88 kB
Size
7.63 kB
File Count
10
NPM Version
lerna/8.1.9/node@v20.16.0+arm64 (darwin)
Node Version
20.16.0
Publised On
16 Dec 2024
Cumulative downloads
Total Downloads
Last day
-8.1%
8,572
Compared to previous day
Last week
-11.2%
261,403
Compared to previous week
Last month
-13.9%
1,149,697
Compared to previous month
Last year
56.7%
12,068,389
Compared to previous year
3
2
3
🌍📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript
Documentation · Quickstart · Example · Support · Contribute · License
Internationalization is the design and development of a product, application or document content that enables easy localization for target audiences that vary in culture, region, or language.
Lingui is an easy yet powerful internationalization (i18n) framework for global projects.
Clean and readable - Keep your code clean and readable, while the library uses battle-tested and powerful ICU MessageFormat under the hood.
Universal - Use it everywhere. @lingui/core
provides the essential intl functionality which works in any JavaScript project while @lingui/react
offers components to leverage React rendering, including React Server Components (RSC) support.
Full rich-text support - Use React components inside localized messages without any limitation. Writing rich-text messages is as easy as writing JSX.
Powerful tooling - Manage your intl workflow with the Lingui CLI, Vite Plugin, and ESLint Plugin. The CLI extracts, compiles and validates messages, while the Vite plugin compiles catalogs on the fly, and the ESLint plugin helps catch common usage errors.
Unopinionated - Integrate Lingui into your existing workflow. It supports message keys as well as auto-generated messages. Translations are stored either in JSON or standard PO files, which are supported in almost all translation tools.
Lightweight and optimized - Core library is less than 3 kB gzipped, React components are additional 1.4 kB gzipped.
Active community - Join the growing community of developers who are using Lingui to build global products.
Compatible with react-intl - Low-level React API is very similar to react-intl and the message format is the same. It's easy to migrate an existing project.
Short example how i18n looks with JSX:
1import { Trans } from "@lingui/react/macro" 2 3function App() { 4 return ( 5 <Trans id="msg.docs" /* id is optional */> 6 Read the <a href="https://lingui.dev">documentation</a> 7 for more info. 8 </Trans> 9 ) 10}
Message from this component will be extracted in following format:
1msgid "msg.docs" 2msgstr "Read the <0>documentation</0> for more info."
For more example see the Examples directory.
If you are having issues, please let us know.
linguijs
tag.Contribution to open-source project is everything from spreading the word, writing documentation to implement features and fixing bugs.
This project exists thanks to all the people who contribute. [Contribute].
The project is licensed under the MIT license.
No vulnerabilities found.
Reason
30 commit(s) and 20 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 9/24 approved changesets -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
63 existing vulnerabilities detected
Details
Score
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 More