{"_id":"@azure-net/edges-translations","_rev":"7-5197a9f2a0a0af57156790b90b2f5b30","name":"@azure-net/edges-translations","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@azure-net/edges-translations","version":"1.0.0","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.0.0","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"94bf2b6e6c58c7541a18611a56ed2643346b9f6d","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.0.0.tgz","fileCount":5,"integrity":"sha512-4MMwpb2jhCjXWrQuOTS4EFuigC1f5l8yo4UrKDfdAOKhh2TzgqEb+hZkO4AMsPc6sCywtmNzjeEmERu1OY0F1A==","signatures":[{"sig":"MEYCIQC7U23eSmAArZv/bQWlzliNpcdEJlf3DJclskP+tVGrFQIhAPvPBB6LZ+qoFqqZJC9ZVy57rihhBLJpcpx6TeSwvwok","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20552},"type":"module","_from":"file:azure-net-edges-translations-1.0.0.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/552bef4ea4a48577a20a92e3caf6174e/azure-net-edges-translations-1.0.0.tgz","_integrity":"sha512-4MMwpb2jhCjXWrQuOTS4EFuigC1f5l8yo4UrKDfdAOKhh2TzgqEb+hZkO4AMsPc6sCywtmNzjeEmERu1OY0F1A==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.1.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.1.7","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.0.0_1776601819754_0.22907780309111359","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@azure-net/edges-translations","version":"1.2.0","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.2.0","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"a1dd8e16f079d0fb5e3e75212672d8a36641ec1d","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.2.0.tgz","fileCount":5,"integrity":"sha512-2X1u6Xs3aEraoa+XQ0Iwqb0GR50F8Vi2Yl5CXbi6O7pomQ8PV4oLzYyQYddQnrfSsRBQryyX6b9DVmPI6v4hZg==","signatures":[{"sig":"MEUCIQD2t8sKFUBbkYdYo0oj0oCWHvnaECSjzVRSsPh41IjeHQIgdXmz0Vgl6QIt7gCHkDI3QBbG9/tZyFKDeU8s0DzYvSA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20552},"type":"module","_from":"file:azure-net-edges-translations-1.2.0.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/889608e53d2ee1869972afd168c9f005/azure-net-edges-translations-1.2.0.tgz","_integrity":"sha512-2X1u6Xs3aEraoa+XQ0Iwqb0GR50F8Vi2Yl5CXbi6O7pomQ8PV4oLzYyQYddQnrfSsRBQryyX6b9DVmPI6v4hZg==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.1.7","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.2.0_1776620754321_0.6878583321890381","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@azure-net/edges-translations","version":"1.2.2","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.2.2","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"3f29ef8fbfcdbd0f127d1854a07b984dd0dba6e9","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.2.2.tgz","fileCount":5,"integrity":"sha512-cX7TKU7ILC/B0NvsCfPRxo0FyYObYsPx0RB1FmnnmZL8lJXWnseKUVqREwQftmK/aHqasQ6P64ag68QKUfVc2A==","signatures":[{"sig":"MEYCIQDbtc+awjSg5n/XZ952MjDbsaHyCwlvctjuL6sMfKnflgIhAPH25oFdmvmZHsxdEc5U64WTHJAkd+i7aA0ZxLFfbryj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20552},"type":"module","_from":"file:azure-net-edges-translations-1.2.2.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/05cb4beed33990795d2898cd91af6c1b/azure-net-edges-translations-1.2.2.tgz","_integrity":"sha512-cX7TKU7ILC/B0NvsCfPRxo0FyYObYsPx0RB1FmnnmZL8lJXWnseKUVqREwQftmK/aHqasQ6P64ag68QKUfVc2A==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.2.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.2.2","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.2.2_1776891791319_0.7097884085539907","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@azure-net/edges-translations","version":"1.2.3","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.2.3","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"8553e7076d28001d52612daa82840428aa5874e4","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.2.3.tgz","fileCount":5,"integrity":"sha512-G7Hde8FpX/War+m3VxqDie3rhRFP23bkkXrX0ywgCazSDEiZy4E2aLcACqnnXCxbaqht0eExQoyX08oonC1/5Q==","signatures":[{"sig":"MEUCIEFC801Doetz72nuupAYBkSq5/L/0fdybJHlbboiOfKVAiEAnBXLtcsVnDqTY+hzjAEpSV5xWO1YT0tjOhm2HZFm72w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20552},"type":"module","_from":"file:azure-net-edges-translations-1.2.3.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/7f6b02c3d2f7a8763a063ca1a6672f16/azure-net-edges-translations-1.2.3.tgz","_integrity":"sha512-G7Hde8FpX/War+m3VxqDie3rhRFP23bkkXrX0ywgCazSDEiZy4E2aLcACqnnXCxbaqht0eExQoyX08oonC1/5Q==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.2.3"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.2.3","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.2.3"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.2.3_1776945947408_0.20431601538167588","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@azure-net/edges-translations","version":"1.2.5","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.2.5","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"516cc5c8cfd986e2d1ec40db2a2b454303d5ce5c","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.2.5.tgz","fileCount":5,"integrity":"sha512-HsUuM3S4NoJkZQ5blVQBhKSL/vc3yRjOiLxes1ZY5JfV920fR4U7Evq8UHVzF1k0YCWdQ1MRZwz7VEUaIZPulg==","signatures":[{"sig":"MEYCIQD0OI5dL/u8ArIQYftVtY9WOOztTYc7VSgVmwO9QSKR/AIhAIEubrfNXh/UX6DrqeWSRanbHRPK4UgKr6P0zYRWKSSP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20552},"type":"module","_from":"file:azure-net-edges-translations-1.2.5.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/66c4883f944c6d2b636c000aca822cc7/azure-net-edges-translations-1.2.5.tgz","_integrity":"sha512-HsUuM3S4NoJkZQ5blVQBhKSL/vc3yRjOiLxes1ZY5JfV920fR4U7Evq8UHVzF1k0YCWdQ1MRZwz7VEUaIZPulg==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.2.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.2.5","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.2.5"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.2.5_1776947576512_0.035748446237221954","host":"s3://npm-registry-packages-npm-production"}},"1.2.7":{"name":"@azure-net/edges-translations","version":"1.2.7","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"author":{"name":"Pixel1917"},"license":"MIT","_id":"@azure-net/edges-translations@1.2.7","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"dist":{"shasum":"55cb5cd4546a124c7ee8bcc63e91b7c2f98b03be","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-1.2.7.tgz","fileCount":5,"integrity":"sha512-eJhT4REYHbKcWYLmbYXamgQiNVWsH/9xHqU+Vtwju/je83jJMSlQTrzH3pQNdmVf+bnI7CXGdeSeCYXw43Xgrg==","signatures":[{"sig":"MEUCIQCJlIVmaUN8K0zgCWMMEXtynD056S2/h5iJumagcyMLwwIgAjk40MJOirFBOGu2uYxHW65SSr9mzXHYOwfWDQj8Ifw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20595},"type":"module","_from":"file:azure-net-edges-translations-1.2.7.tgz","types":"./dist/index.d.ts","config":{"commitizen":{"path":"git-cz"}},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"dev":"vite dev","lint":"prettier --check . && eslint .","test":"npm run test:unit -- --run","build":"vite build && npm run prepack","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","commit":"pnpm format && git add . && git-cz && git push","format":"prettier --write .","preview":"vite preview","precommit":"pnpm format","test:unit":"vitest","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/8e4b918d12ad4e72fe1ec01717cf3229/azure-net-edges-translations-1.2.7.tgz","_integrity":"sha512-eJhT4REYHbKcWYLmbYXamgQiNVWsH/9xHqU+Vtwju/je83jJMSlQTrzH3pQNdmVf+bnI7CXGdeSeCYXw43Xgrg==","repository":{"url":"git+https://github.com/Pixel1917/edges-svelte-translations.git","type":"git"},"_npmVersion":"10.9.4","description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.21.0","dependencies":{"@azure-net/tools":"^1.2.7"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.8","husky":"^9.1.7","eslint":"^10.2.1","git-cz":"^4.9.0","svelte":"^5.55.4","vitest":"^4.1.4","globals":"^17.5.0","publint":"^0.3.2","prettier":"^3.8.3","@eslint/js":"^10.0.1","commitizen":"^4.3.1","typescript":"^5.8.3","svelte-check":"^4.4.6","@sveltejs/kit":"^2.57.1","@eslint/compat":"^2.0.5","@commitlint/cli":"^20.5.0","@azure-net/edges":"1.2.5","@sveltejs/package":"^2.5.7","typescript-eslint":"^8.58.2","eslint-plugin-svelte":"^3.17.0","@sveltejs/adapter-auto":"^7.0.1","eslint-config-prettier":"^10.1.8","prettier-plugin-svelte":"^3.5.1","@sveltejs/vite-plugin-svelte":"^7.0.0"},"peerDependencies":{"svelte":">=5.0.0","@sveltejs/kit":">=2.16.0","@azure-net/edges":">=1.2.7"},"_npmOperationalInternal":{"tmp":"tmp/edges-translations_1.2.7_1778053805880_0.30138503261278804","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@azure-net/edges-translations","version":"2.0.0","license":"MIT","author":{"name":"Pixel1917"},"description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","homepage":"https://github.com/Pixel1917/edges-svelte-translations","bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/Pixel1917/edges-svelte-translations.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"sideEffects":["**/*.css"],"svelte":"./dist/index.js","types":"./dist/index.d.ts","type":"module","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js","import":"./dist/index.js","default":"./dist/index.js"}},"peerDependencies":{"@azure-net/edges":">=2.0.0","@sveltejs/kit":">=2.16.0","svelte":">=5.0.0"},"devDependencies":{"@azure-net/edges":"2.0.0","@eslint/compat":"^2.0.5","@eslint/js":"^10.0.1","@sveltejs/adapter-auto":"^7.0.1","@sveltejs/kit":"^2.57.1","@sveltejs/package":"^2.5.7","@sveltejs/vite-plugin-svelte":"^7.0.0","eslint":"^10.2.1","eslint-config-prettier":"^10.1.8","eslint-plugin-svelte":"^3.17.0","globals":"^17.5.0","prettier":"^3.8.3","prettier-plugin-svelte":"^3.5.1","publint":"^0.3.2","svelte":"^5.55.4","svelte-check":"^4.4.6","typescript":"^5.8.3","typescript-eslint":"^8.58.2","vite":"^8.0.8","vitest":"^4.1.4"},"keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"dependencies":{"@azure-net/tools":"^2.0.0"},"scripts":{"dev":"vite dev","build":"vite build && npm run prepack","preview":"vite preview","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","format":"prettier --write .","lint":"prettier --check . && eslint .","test:unit":"vitest","test":"npm run test:unit -- --run","precommit":"pnpm format","commit":"pnpm format && git add ."},"_id":"@azure-net/edges-translations@2.0.0","_integrity":"sha512-8RH3JoFaMg79qGU8NKue9NYfMANqBo+sybluNJCuWOW12wBF8T1VgkvHQgDpRS+Qv5T9OMD4ZqJcXZJndumWSA==","_resolved":"/private/var/folders/dd/r7pjcn9s1376t8679n832vlm0000gn/T/9a8f4c9b0093f3346f3f8e253146d889/azure-net-edges-translations-2.0.0.tgz","_from":"file:azure-net-edges-translations-2.0.0.tgz","_nodeVersion":"22.21.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-8RH3JoFaMg79qGU8NKue9NYfMANqBo+sybluNJCuWOW12wBF8T1VgkvHQgDpRS+Qv5T9OMD4ZqJcXZJndumWSA==","shasum":"b463b72528cefc6b7b1458c9a23bf20255a1f002","tarball":"https://registry.npmjs.org/@azure-net/edges-translations/-/edges-translations-2.0.0.tgz","fileCount":5,"unpackedSize":24021,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFJozPDCOqqViXb0q7pxmiJzTaQrshPIBQ+Gld3lwj/OAiEAwZ7AF5zB6ydbFJg82gdi9wbHkmX2sMoCWVcjk+WUYyU="}]},"_npmUser":{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"},"directories":{},"maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/edges-translations_2.0.0_1786489071704_0.7746503133447629"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-19T12:30:19.658Z","modified":"2026-08-11T22:57:52.067Z","1.0.0":"2026-04-19T12:30:19.971Z","1.2.0":"2026-04-19T17:45:54.467Z","1.2.2":"2026-04-22T21:03:11.487Z","1.2.3":"2026-04-23T12:05:47.615Z","1.2.5":"2026-04-23T12:32:56.657Z","1.2.7":"2026-05-06T07:50:06.023Z","2.0.0":"2026-08-11T22:57:51.854Z"},"bugs":{"url":"https://github.com/Pixel1917/edges-svelte-translations/issues","email":"sank195951@gmail.com"},"author":{"name":"Pixel1917"},"license":"MIT","homepage":"https://github.com/Pixel1917/edges-svelte-translations","keywords":["sveltekit","svelte","i18n","translations","edge-s","edges-svelte","ssr","ssr i18n"],"repository":{"type":"git","url":"git+https://github.com/Pixel1917/edges-svelte-translations.git"},"description":"Elegant, type-safe and SSR-friendly internationalization for edges-svelte","maintainers":[{"name":"monocelled","email":"rrs95@yandex.ru"},{"name":"pixel_1917","email":"sergey.galaktionov1917@yandex.ru"}],"readme":"# @azure-net/edges-translations\n\nType-safe, lazy and request-isolated internationalization for Svelte 5, SvelteKit and `@azure-net/edges` 2.\n\n## Features\n\n- SSR dictionaries isolated per request\n- One-time locale hydration through EdgeS\n- Lazy client dictionary imports with concurrent-load deduplication\n- Cookie and quality-aware `Accept-Language` detection\n- Typed nested translation paths\n- Variables and two/three-form pluralization\n- Race-safe client locale switching\n- Multiple independent managers through `prefix`\n\n## Installation\n\n```bash\nnpm install @azure-net/edges @azure-net/edges-translations\n```\n\nRequirements:\n\n- `@azure-net/edges >= 2.0.0`\n- `@sveltejs/kit >= 2.16.0`\n- `svelte >= 5.0.0`\n\n## Messages\n\nCreate one lazily imported file per locale:\n\n```ts\n// src/translation/locales/en.ts\nexport default {\n\thome: {\n\t\ttitle: 'Home'\n\t},\n\tgreeting: 'Hello, {{name}}',\n\titems: '{{count}} {{ count | plural: item, items }}'\n};\n```\n\n```ts\n// src/translation/locales/ru.ts\nimport type { TranslationShape } from '@azure-net/edges-translations';\n\nexport default {\n\thome: {\n\t\ttitle: 'Главная'\n\t},\n\tgreeting: 'Привет, {{name}}',\n\titems: '{{count}} {{ count | plural: предмет, предмета, предметов }}'\n} satisfies TranslationShape<typeof import('./en.js').default>;\n```\n\n`TranslationShape` widens leaf values to `string` while preserving the full key tree. The `satisfies` expression catches missing, extra and structurally incompatible locale keys during type checking.\n\nExport lazy loaders:\n\n```ts\n// src/translation/locales/index.ts\nexport const messages = {\n\ten: () => import('./en.js').then((module) => module.default),\n\tru: () => import('./ru.js').then((module) => module.default)\n};\n```\n\n## Manager\n\n```ts\n// src/translation/index.ts\nimport { createTranslations } from '@azure-net/edges-translations';\nimport { messages } from './locales/index.js';\n\nexport const TranslationProvider = createTranslations({\n\tmessages,\n\tinitLang: 'en',\n\tinitLangFromAcceptLanguage: true,\n\tcookieName: 'language',\n\tcookieOptions: {\n\t\tpath: '/',\n\t\tsameSite: 'Lax',\n\t\tmaxAge: 60 * 60 * 24 * 365\n\t}\n});\n```\n\nTranslation keys exposed by `t` are inferred from the locale selected by `initLang`.\n\n## Server Setup\n\nEdgeS 2 has no Vite plugin. Wrap the SvelteKit handle explicitly and call `serialize` from the page transform:\n\n```ts\n// src/hooks.server.ts\nimport { edgesHandle } from '@azure-net/edges/server';\nimport { TranslationProvider } from './translation/index.js';\n\nexport const handle = edgesHandle(async ({ edgesEvent, resolve, serialize }) => {\n\tconst { preloadTranslation, applyHtmlLocaleAttr } = TranslationProvider();\n\tawait preloadTranslation();\n\n\treturn resolve(edgesEvent, {\n\t\ttransformPageChunk: ({ html }) => serialize(applyHtmlLocaleAttr(html))\n\t});\n});\n```\n\nKeep a locale placeholder in the app template:\n\n```html\n<!-- src/app.html -->\n<html lang=\"%lang%\"></html>\n```\n\n`preloadTranslation` stores its dictionary only in the current request-scoped provider. It does not write translation data to `event.locals` or any module-global SSR cache.\n\nAn optional resolver can override detection and may be asynchronous:\n\n```ts\nawait preloadTranslation(async () => {\n\treturn user.locale ?? 'en';\n});\n```\n\nUnsupported resolver results fall back to `initLang`.\n\n## Client Setup\n\nInitialize the browser dictionary in the root universal layout load:\n\n```ts\n// src/routes/+layout.ts\nimport { browser } from '$app/environment';\nimport { TranslationProvider } from '../translation/index.js';\nimport type { LayoutLoad } from './$types.js';\n\nexport const load: LayoutLoad = async () => {\n\tif (!browser) return;\n\tawait TranslationProvider().initializeClient();\n};\n```\n\nThe locale itself is hydrated once by EdgeS. `initializeClient` imports that locale's dictionary once in the browser and deduplicates concurrent calls. No `+layout.server.ts`, page data or repeated state synchronization is required.\n\nAfter hydration, locale state is client-owned. Server renders on later navigations do not overwrite a locale already changed in the browser.\n\n## Component Usage\n\n```svelte\n<script lang=\"ts\">\n\timport { TranslationProvider } from '../translation/index.js';\n\n\tconst { t, locale, locales, switchLocale } = TranslationProvider();\n</script>\n\n<h1>{$t('home.title')}</h1>\n<p>{$t('greeting', { name: 'Alex' })}</p>\n<p>{$t({ key: 'items', vars: { count: 5 } })}</p>\n\n<button onclick={() => switchLocale($locale === locales.en ? locales.ru : locales.en)}>\n\t{$locale}\n</button>\n```\n\nMissing keys are returned unchanged, which keeps failures visible instead of rendering misleading empty content. Missing interpolation variables become empty strings.\n\n## Locale Events\n\n```ts\nconst { subscribeLocaleChangeEvent } = TranslationProvider();\n\nconst unsubscribe = subscribeLocaleChangeEvent((locale) => {\n\tconsole.log('Current locale:', locale);\n});\n\nunsubscribe();\n```\n\nSubscriptions and `switchLocale` are client-only. The listener is called after the selected dictionary has loaded and the locale, cookie and `<html lang>` have been updated.\n\n## Multiple Managers\n\nEvery manager in one application must have a unique `prefix`:\n\n```ts\nexport const AdminTranslations = createTranslations({\n\tprefix: 'Admin',\n\tmessages: adminMessages,\n\tinitLang: 'en'\n});\n\nexport const PublicTranslations = createTranslations({\n\tprefix: 'Public',\n\tmessages: publicMessages,\n\tinitLang: 'en'\n});\n```\n\nThe prefix separates EdgeS provider/state keys, SSR dictionaries, browser caches, pending imports and locale listeners.\n\n## Options\n\n| Option                       | Type                                         | Description                                                                    |\n| ---------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------ |\n| `messages`                   | `Record<string, () => Promise<Translation>>` | Lazy locale loaders.                                                           |\n| `initLang`                   | Locale key                                   | Fallback locale and canonical type schema.                                     |\n| `initLangFromAcceptLanguage` | `boolean`                                    | Resolve the best supported locale using header q-values and regional fallback. |\n| `cookieName`                 | `string`                                     | Read locale on SSR and persist browser switches.                               |\n| `cookieOptions`              | `TranslationCookieOptions`                   | Browser cookie attributes. Defaults to `path: '/'` and `sameSite: 'Lax'`.      |\n| `prefix`                     | `string`                                     | Unique namespace for multiple managers.                                        |\n\n## Provider API\n\n| Member                                 | Environment | Description                                                                  |\n| -------------------------------------- | ----------- | ---------------------------------------------------------------------------- |\n| `preloadTranslation(resolver?)`        | Server      | Resolves and loads the request dictionary.                                   |\n| `initializeClient()`                   | Universal   | Loads the hydrated locale dictionary in the browser; server call is a no-op. |\n| `switchLocale(locale)`                 | Client      | Lazily loads and atomically switches locale. Latest call wins.               |\n| `subscribeLocaleChangeEvent(listener)` | Client      | Subscribes to completed locale switches and returns an unsubscribe function. |\n| `applyHtmlLocaleAttr(html)`            | Server      | Replaces `%lang%` with the current request locale.                           |\n| `t`                                    | Universal   | Readable store containing the typed translation function.                    |\n| `locale`                               | Universal   | Writable EdgeS locale store. Prefer `switchLocale` for browser changes.      |\n| `locales`                              | Universal   | Frozen typed locale-name map.                                                |\n\n## Detection Order\n\n1. A supported value from `cookieName`.\n2. The highest-quality supported `Accept-Language` value when enabled.\n3. `initLang`.\n\nLocale matching is case-insensitive, accepts `_` or `-`, and falls back from regional tags such as `pt-BR` to a supported `pt` locale or variant.\n\n## SSR Model\n\n- Server dictionaries live inside the EdgeS request-scoped provider instance.\n- Browser dictionaries live inside the browser provider singleton.\n- Only the locale state is serialized by EdgeS for initial hydration.\n- Dictionaries are not copied into HTML or `page.data`.\n- No locale or dictionary synchronization runs on subsequent navigations.\n\nThis model avoids cross-request data leakage and removes navigation-time state resets.\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}