{"_id":"@artshell/tolgee-format-icu-jsx-param","_rev":"11-8df30d4363c9e0f71750b8cc2574b3c7","name":"@artshell/tolgee-format-icu-jsx-param","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@artshell/tolgee-format-icu-jsx-param","version":"1.0.0","keywords":["localization","internationalization","l10n","i18n","translation","languages"],"author":{"name":"Artshell s.r.l."},"license":"MIT","_id":"@artshell/tolgee-format-icu-jsx-param@1.0.0","maintainers":[{"name":"sarileoni","email":"admin@artshell.eu"},{"name":"mapteo","email":"matteo@artshell.eu"},{"name":"fedaz","email":"federico@condense.tech"},{"name":"visconti","email":"visconti@artshell.eu"},{"name":"kalimantos","email":"kalimantos@gmail.com"},{"name":"maku85","email":"makuma85@gmail.com"},{"name":"robertaracco","email":"roberta.racco@artshell.eu"}],"homepage":"https://github.com/Artshell-company/tolgee-format-icu-jsx-param#readme","bugs":{"url":"https://github.com/Artshell-company/tolgee-format-icu-jsx-param/issues"},"dist":{"shasum":"6a5dc20c09ca4b7018221515912331833b06f44e","tarball":"https://registry.npmjs.org/@artshell/tolgee-format-icu-jsx-param/-/tolgee-format-icu-jsx-param-1.0.0.tgz","fileCount":32,"integrity":"sha512-33kTmkPipOqFFLBS7rC3Vf+bKxWoDLv1VBhqMQ0kW2X5KZZmXrnKKfPh0+LwcXLyvOZji1A9H3UNQIf9inHiUg==","signatures":[{"sig":"MEQCIFQy2NKomsshRBwu1BZpx15afjbVRlPACYb9NMfm/lkUAiBAZq5cIE6CLe9mAJTMrvKAlGoCV5l9EBwXnbt9LWdzEQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2245730},"main":"./dist/tolgee-format-icu-jsx-param.cjs.js","types":"./lib/index.d.ts","module":"./dist/tolgee-format-icu-jsx-param.esm.js","svelte":"./dist/tolgee-format-icu-jsx-param.esm.mjs","exports":{".":{"types":"./lib/index.d.ts","import":"./dist/tolgee-format-icu-jsx-param.esm.js","module":"./dist/tolgee-format-icu-jsx-param.esm.js","svelte":"./dist/tolgee-format-icu-jsx-param.esm.mjs","require":"./dist/tolgee-format-icu-jsx-param.cjs.js"},"./package.json":"./package.json"},"gitHead":"543666b7dc0c8393b2d2f159d67f88b1c802aa96","scripts":{"tsc":"tsc --noEmit","test":"jest --collect-coverage","build":"rollup -c rollup.config.js && tsc --declaration --emitDeclarationOnly --project tsconfig.prod.json","clean":"rm -rf dist lib","develop":"concurrently \"rollup -c rollup.config.js -w\" \"tsc --declaration --emitDeclarationOnly --watch --preserveWatchOutput --project tsconfig.prod.json\" ","prepack":"npm run build","commitlint":"commitlint --edit"},"_npmUser":{"name":"kalimantos","email":"kalimantos@gmail.com"},"repository":{"url":"git+https://github.com/Artshell-company/tolgee-format-icu-jsx-param.git","type":"git"},"_npmVersion":"9.8.1","declaration":true,"description":"Tolgee format ICU plugin that supports jsx params","directories":{"lib":"lib","dist":"dist"},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"@formatjs/fast-memoize":"^2.2.0","@formatjs/ecma402-abstract":"^1.17.2","@formatjs/icu-messageformat-parser":"^2.6.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.4","husky":"^8.0.3","react":"^18.2.0","rollup":"^2.56.3","ts-jest":"^27.1.5","typescript":"^4.7.4","@types/jest":"^27.0.2","@types/node":"^17.0.8","@tolgee/core":"5.12.0","concurrently":"7.3.0","@tolgee/react":"^5.12.0","@commitlint/cli":"^17.7.1","jest-fetch-mock":"^3.0.3","rollup-plugin-terser":"7.0.2","@testing-library/react":"^14.0.0","rollup-plugin-visualizer":"^5.8.0","@rollup/plugin-typescript":"8.3.4","@testing-library/jest-dom":"^5.17.0","rollup-plugin-bundle-size":"^1.0.3","@rollup/plugin-node-resolve":"13.3.0","@commitlint/config-conventional":"^17.7.0","@types/testing-library__jest-dom":"^5.14.5"},"_npmOperationalInternal":{"tmp":"tmp/tolgee-format-icu-jsx-param_1.0.0_1695916694429_0.7247214684609022","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-09-28T15:58:14.428Z","modified":"2026-06-15T20:12:04.009Z","1.0.0":"2023-09-28T15:58:14.760Z"},"bugs":{"url":"https://github.com/Artshell-company/tolgee-format-icu-jsx-param/issues"},"author":{"name":"Artshell s.r.l."},"license":"MIT","homepage":"https://github.com/Artshell-company/tolgee-format-icu-jsx-param#readme","keywords":["localization","internationalization","l10n","i18n","translation","languages"],"repository":{"url":"git+https://github.com/Artshell-company/tolgee-format-icu-jsx-param.git","type":"git"},"description":"Tolgee format ICU plugin that supports jsx params","maintainers":[{"email":"visconti@artshell.eu","name":"visconti"},{"email":"kalimantos@gmail.com","name":"kalimantos"},{"email":"makuma85@gmail.com","name":"maku85"},{"email":"roberta.racco@artshell.eu","name":"robertaracco"}],"readme":"# Tolgee format ICU plugin with JSX param support\n\nthis is an alternative of [Tolgee ICU formatter](https://github.com/tolgee/tolgee-js/blob/main/packages/format-icu/README.md)\nif you are using React and want to pass JSX in params when using the \"argument\" notation (ex: \"Hello {thing}\").\n\n## Installation\n\n```\nnpm install @artshell/tolgee-format-icu-jsx-param\n```\n\n## Usage\n\nFirst, create a Tolgee instance and run it.\n\n```ts\nimport { FormatIcu } from \"@artshell/tolgee-format-icu-jsx-param\";\n\nconst tolgee = Tolgee()\n  .use(FormatIcu())\n  .init(...)\n\n...\n```\n\nNow you can use ICU format in your translations. Example:\n\n```tsx\ntolgee.t(\"test\", \"Hello {thing}\", { thing: <strong>world</strong> });\n// 'Hello <strong>world</strong>'\n```\n\nfor more information refer to [Tolgee ICU formatter](https://github.com/tolgee/tolgee-js/blob/main/packages/format-icu/README.md)\n","readmeFilename":"README.md"}