FindSoftware

typesafe-i18n

TypeScript and JavaScript internationalization library that generates typed translation functions, with plurals, formatters and lazy loading of locales.

typesafe-i18n is an internationalization library for TypeScript and JavaScript. A generator writes definitions and wrapper functions from the base locale, so translation keys and their arguments are typed. At runtime the translation function injects arguments, formats them and finds the correct plural form, and locales can load asynchronously.

Adapters for Angular, React, Solid, Svelte, Vue and Node.js are separate packages in the same repository. The README serves as the documentation.

Worth knowing

The repository moved from the ivanhofer GitHub namespace to the codingcommons organization, and the README still links the earlier namespace.

Identity

Status
Active
Maintainer
Hofer Ivan2
First release
20216

Rendering and deploy

Install with
npx setup, npm, cdn34

Releases

Current major version
57
Last release
2026-02-118

Adoption

GitHub stars
2,4771
npm downloads a week
97,74810
Contributors
359
Downloads a month
255,31611
Dependent repositories
9211
Dependent packages
1511

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/codingcommons/typesafe-i18n
  2. 2026-11-16: Maintainer, License, License model
    raw.githubusercontent.com/codingcommons/typesafe-i18n/main/LICENSE
  3. 2026-11-16: Categories, Runtime, Install with
    raw.githubusercontent.com/codingcommons/typesafe-i18n/main/README.md
  4. 2026-11-17: Install with
    raw.githubusercontent.com/codingcommons/typesafe-i18n/main/packages/browser/example/README.md
  5. 2026-11-17: Minimum runtime
    raw.githubusercontent.com/codingcommons/typesafe-i18n/main/packages/adapter-node/README.md
  6. 2026-11-16: First release
    registry.npmjs.org/typesafe-i18n
  7. 2026-11-16: Current major version
    api.github.com/repos/codingcommons/typesafe-i18n/releases
  8. 2026-11-16: Last release
    api.github.com/repos/codingcommons/typesafe-i18n/releases/latest
  9. 2026-11-16: Contributors
    api.github.com/repos/codingcommons/typesafe-i18n/contributors?per_page=1
  10. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typesafe-i18n
  11. 2026-11-16: Downloads a month, Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typesafe-i18n

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON