{"library":"vite-bundled-i18n","type":"library","category":null,"description":"Route-aware i18n bundler for Vite that extracts translation keys via AST analysis at build time and emits per-route scope-matched JSON bundles. Current stable version is 0.7.2, released with weekly or bi-weekly cadence. Unlike traditional i18n libraries (react-i18next, vue-i18n) that load all translations globally, vite-bundled-i18n tree-shakes translations per page, reducing payload from thousands of keys to only the ones needed for the current route. Supports React, Vue, and vanilla JS with a shared ~50-line core, optional compiled Map modules for O(1) lookup, SSR with automatic hydration, type-safe placeholder validation, and a testing utility. Requires Node >=20, peer deps: react >=18, react-dom >=18, vue ^3.0.0, eslint >=8.","language":"javascript","status":"active","version":"0.7.2","tags":["javascript","i18n","vite","react","translations","localization","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-bundled-i18n","imports":["import { i18nPlugin } from 'vite-bundled-i18n'","import { t } from 'vite-bundled-i18n/react'","import { createI18nTestPlugin } from 'vite-bundled-i18n/testing'"]},{"cmd":"yarn add vite-bundled-i18n","imports":[]},{"cmd":"pnpm add vite-bundled-i18n","imports":[]}],"homepage":null,"github":"https://github.com/nicolasvlachos/vite-bundled-i18n","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-bundled-i18n","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}