typesafe-i18n
Keep, but not for new work. 8th of 9 translation libraries.
typesafe-i18n is a small TypeScript i18n library with no dependencies. It generates fully typed translation functions and has adapters for React, Svelte, Vue and others. It still works, but it has barely changed since its creator died in 2023. A volunteer group took it over in late 2025 and has shipped only small fixes since. Keep it where it already runs, but Paraglide JS, Lingui or i18next are safer picks for new work.
Best for: Teams that already use it, or small TypeScript projects that want typed translations with no dependencies and can live with slow maintenance.
Scores
Overall4.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
The library is small and type-safe, and it still works, but development has mostly stopped since 2023 and the 2025 handover has produced little activity. Its share is shrinking, and peers such as Paraglide JS and Lingui give typed messages with active maintenance. Keep it in projects that already use it, and pick a peer for new work.
- github.com/codingcommons/typesafe-i18n/discussions/774: Volunteer stewardship; users question activity
- npm downloads ratio: 2.96, below the 4.1 median
- peers Paraglide JS: 678 commits last year; downloads grew about 17 times
GPT-6.2 Sol: 4.5, likely 3.3 to 5.8
The small runtime and checks on message arguments still make it useful in an existing app with a working toolchain. For new work, Paraglide JS offers typed message functions with more active maintenance and first-party Svelte CLI integration. The recommendation depends mainly on whether the team can pin its toolchain and carry compatibility fixes itself.
- github.com/codingcommons/typesafe-i18n/releases: Latest stable release is 5.27.1 from February 2026.
- github.com/codingcommons/typesafe-i18n/issues/789: A current TypeScript upgrade can break code generation.
- svelte.dev/docs/cli/paraglide: Svelte CLI supports Paraglide and its typed message functions.
- peers: Paraglide and other leading peers ship more frequently.
Needed by many5.6
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web and app projects need translations, and this library works with any framework and runtime. It is built for TypeScript users who want generated types, which makes it a little narrower than general tools like i18next.
- github.com/codingcommons/typesafe-i18n: Works with any framework; has adapters for several of them
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 5.2, likely 3.9 to 6.6
Multilingual apps often need shared message catalogs and locale-aware formatting. The core works across front-end frameworks and Node.js, and the generator also supports JavaScript through JSDoc. The range is wide because public web measurements and framework surveys only indirectly measure demand for typed translation catalogs.
- almanac.httparchive.org/en/2025/seo#internationalization: Roughly one in five measured pages use hreflang.
- 2025.stateofjs.com/en-US/libraries/front-end-frameworks: Developer survey shows use across several supported frameworks.
- github.com/codingcommons/typesafe-i18n/blob/5.27.1/README.md: Documents framework adapters, Node.js, and JSDoc output.
Helps a lot6.4
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Type safety, small size and built-in plural and Intl formatting are real strengths. It does not use the standard ICU message format, needs a generator process running in watch mode, and its adapters have not followed framework changes such as Svelte runes. Paraglide JS and Lingui now give similar type safety with more active tooling.
- bluesky top post: A user reports the Svelte adapter still uses stores
- dev.to/aakashgoplani/internationalization-in-sveltekit-with-svelte-i18n-sveltekit-i18n-and-typesafe-i18n-3olj: Independent SvelteKit comparison that describes the generator workflow and type safety
- npm dependencies: Zero runtime dependencies
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
The generator checks keys, argument types, and locale coverage. The runtime handles plural rules, custom formatters for dates and numbers, and lazy locale loading. Generated signatures give coding agents compiler feedback, though direct evidence of agent performance is limited. TypeScript 6 failures in some setups and the aging Svelte adapter make the experience depend on the stack.
- github.com/codingcommons/typesafe-i18n/blob/5.27.1/README.md: Documents generated types, formatting, and runtime size.
- blog.aakashgoplani.in/comparing-i18n-libraries-in-sveltekit-svelte-i18n-sveltekit-i18n-and-typesafe-i18n: Hands-on comparison reports a small bundle and a setup learning curve.
- github.com/codingcommons/typesafe-i18n/issues/789: Multiple users report TypeScript 6 generator failures.
- github.com/codingcommons/typesafe-i18n/issues/778: Native Svelte 5 support remains an open request.
Holds up over time3.1
Will it still be a good choice in two years?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
The creator died in 2023, and the project went unmaintained until four of his former colleagues took it over in October 2025. Since then there have been only 7 commits and one release day (February 2026, adding Bun lockfile support). By July 2026, users were asking whether the project was still active. Unpaid volunteers with no roadmap make this a weak two-year bet.
- github.com/ivanhofer/typesafe-i18n/issues/739: The 'UNMAINTAINED' issue, updated in October 2025 when maintenance resumed
- github.com/codingcommons/typesafe-i18n/discussions/774: Four stewards, no roadmap; July 2026 replies question activity
- github.com/codingcommons/typesafe-i18n/releases: Only v5.27.0 and v5.27.1, both on 11 February 2026
- github commitsLastYear: 7 commits; 18 open PRs
GPT-6.2 Sol: 3.1, likely 1.7 to 4.8
The two February 2026 releases followed a two-and-a-half-year gap and added Bun lockfile support and a provenance fix. Seven commits in the past year and open compatibility issues suggest slow upkeep. The releases show the project can still publish, but the older roadmap and limited evidence of a sustained release team leave its two-year outlook uncertain.
- github commitsLastYear, pushedAt, openPullRequests: Seven commits, last push in March, and 18 open pull requests.
- github.com/codingcommons/typesafe-i18n/blob/main/CHANGELOG.md: February releases followed the August 2023 release.
- github.com/codingcommons/typesafe-i18n/discussions/324: Roadmap discusses extraction and editor tooling.
- github.com/codingcommons/typesafe-i18n/issues/798: October maintenance question remains open.
Used widely3.1
How many use it, and is that growing?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
About 406k downloads in 4 weeks is small next to its peers, and only 92 dependent repositories are recorded. Downloads grew 2.96 times in a year, below the 4.1 median, so it is losing ground. Paraglide JS and Lingui are growing far faster.
- npm downloadsLast4Weeks: 405,834 now vs 137,137 a year ago; a ratio of 2.96, below the 4.1 median
- dependents: 92 repos and 15 packages, far below i18next (49,895) and Vue I18n (42,353)
- github stars: 2,477 stars
GPT-6.2 Sol: 3.2, likely 2.0 to 4.6
Four-week installs rose from 137,137 to 405,834, or 2.96 times, below the catalog median of 4.1 times. The 92 indexed dependent repositories trail Lingui and i18next by a wide margin, and recent Bluesky attention is sparse. The true number of direct users remains uncertain because the dependency index has partial coverage and download totals include repeated installs.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Install growth trails the catalog baseline.
- dependents, peers: 92 indexed repositories and 15 packages depend on it.
- github stars, bluesky posts: 2,477 stars and one recent Bluesky link post.
Vouched for3.8
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
No major company or framework builds on it, and I found no current independent benchmarks. The comparisons that mention it now mostly flag maintenance risk and point to Paraglide JS. There are no Hacker News stories and only one Bluesky post.
- hackerNews stories: 0 stories
- bluesky posts: 1 post, versus 22 for next-intl
- intlayer.org/en/blog/i18n-technologies/frameworks/svelte: Comparison (by a competitor) that notes little recent repository activity
GPT-6.2 Sol: 4.6, likely 3.2 to 5.9
WorkAdventure uses the current release line, and Singapore’s SupportGoWhere lists the library in its software credits. A SvelteKit developer reports that it still works for prerendered pages, with a setup they documented separately. These examples show practical use, while sparse survey and benchmark evidence leaves retention and performance across larger apps uncertain.
- github.com/workadventure/workadventure/blob/master/play/package.json: WorkAdventure uses 5.27.1 in its app build.
- supportgowhere.life.gov.sg/credits.pdf: Government service credits typesafe-i18n.
- reddit.com/r/sveltejs/comments/1pttxrs/simple_implementation_i18n_with_typesafei18n: Developer reports a working SvelteKit prerendering setup.
Safe7.3
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
It has zero dependencies, no known advisories, an MIT licence and npm provenance on its latest release. The risks come from a small, mostly inactive maintainer group and the account and ownership changes after the creator's death. There is no Scorecard data.
- advisories total: 0 advisories
- npm dependencies: 0 dependencies
- github.com/codingcommons/typesafe-i18n/releases: v5.27.1 fixed the repository info in the npm provenance statement
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.6, likely 6.0 to 8.8
The package has a permissive MIT license and declares zero runtime dependencies. OSV and GitHub list no published advisories, and the release workflow uses npm trusted publishing with provenance. Scorecard coverage and the number of people who can authorize releases are unclear, and the slow maintenance cadence makes response times hard to judge.
- npm license, npm dependencies, advisories, scorecard: MIT, zero runtime dependencies, zero OSV advisories, and no Scorecard result.
- github.com/codingcommons/typesafe-i18n/security/advisories: No published repository advisories.
- github.com/codingcommons/typesafe-i18n/blob/5.27.1/.github/workflows/release.yml: GitHub Actions publishes to npm through OIDC with provenance.
Good
- It generates TypeScript types for keys and arguments, so a wrong key or a missing parameter fails at compile time.
- It is tiny (about 1 kB gzipped at runtime) and has zero npm dependencies.
- It works with any framework and has adapters for React, Svelte, Vue, Solid, Angular and Node.
- It handles plurals, numbers and dates through the built-in Intl APIs, with no extra setup.
Bad
- Almost no code has changed since 2023: 7 commits and 2 small releases in the last year.
- The adapters lag behind their frameworks; the Svelte adapter still uses stores, not runes.
- Pull requests wait a long time for review, and users have publicly asked if the project is still active.
- Use is small and grows slower than the market, while Paraglide JS and Lingui offer typed messages with active development.
The numbers
- npm downloads, 4 weeks
- 406k ×3.0 in a year
- GitHub stars
- 2.5k
- Commits, 12 months
- 7
- npm version
- 5.27.1 Feb 2026
- Versions, 12 months
- 1
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (codingcommons/typesafe-i18n), npm (typesafe-i18n), OSV and the OpenSSF Scorecard.
Translation libraries
- 8.3i18next
- 8.2next-intl
- 7.8Vue I18n
- 7.5Lingui
- 7.5Paraglide JS
- 7.3FormatJS
- 5.8Intlayer
- 4.3typesafe-i18n
- 4.0Polyglot.js