codingcommons/typesafe-i18n
A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 73
- Release rhythm 70
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2074
- days_rel: 203
- days_push: 164
- n_releases_24m: 2
Adoption not part of the score
2474 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
typesafe-i18n is a fully type-safe, lightweight (~1kb) internationalization library for TypeScript and JavaScript projects. It generates boilerplate translation code, supports plural rules, switch-case statements, locale-dependent value formatting, async locale loading, and works in frontend, backend, and API projects.
Use cases
- add type-safe i18n to a TypeScript app
- translate UI strings with compile-time safety
- format dates and numbers per locale
- detect the user's locale in browser or server
- handle plural and gender-specific translations
- load translation locales asynchronously
- internationalize a Node.js backend or API
When to choose
- you want compile-time-checked translation keys and arguments
- bundle size matters and you need a tiny i18n runtime
- you use React, Vue, Svelte, Angular, Solid, or plain Node.js
- you need locale-aware formatting of dates, numbers, and plurals
When to avoid
- you need heavy ecosystem features like ICU message format tooling or translation management platform integrations
- your project is not JavaScript/TypeScript
- you rely on a framework's built-in i18n solution instead
Facets
library · maturity maintenance
internationalization templating sdk web-development frontend cross-platform browser cross-platform i18n type-safe localization plural-rules ssr locale-detection lightweight react vue svelte angular nodejs typescript
2 sources
- readme: https://github.com/codingcommons/typesafe-i18n · fetched 2026-08-28 · 417fdc466961
- homepage: https://github.com/ivanhofer/typesafe-i18n · fetched 2026-08-29 · 06d55e59bd2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| codingcommons/typesafe-i18n | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="codingcommons/typesafe-i18n")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem