{"_id":"@json-render/directives","_rev":"11-efdd3a083139c6e359eeea4303b8cda0","name":"@json-render/directives","dist-tags":{"latest":"0.23.2"},"versions":{"0.19.0":{"name":"@json-render/directives","version":"0.19.0","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.19.0","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"09eeaeefa24aa880394f08a16d9929222a82d60a","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.19.0.tgz","fileCount":9,"integrity":"sha512-JOBzXWpmvf5Bmy/NihFyfIK2+JXVwfbB2i8703tSJ3c3aatDsSL5yIwZ3+/I7qzLtIQFL6ubwk3DvdzOpOKBnQ==","signatures":[{"sig":"MEYCIQC3QnpJnQIa2yYqNe91htDy7gXx7r5sf62M3pgFHX05DAIhAMYjqkCZ9aP+1iGRYvw48Az68XNSoIxou6ZwbeynLEly","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.19.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ctate","email":"chris@ctate.dev"},"_resolved":"/tmp/json-render-directives-0.19.0.tgz","_integrity":"sha512-JOBzXWpmvf5Bmy/NihFyfIK2+JXVwfbB2i8703tSJ3c3aatDsSL5yIwZ3+/I7qzLtIQFL6ubwk3DvdzOpOKBnQ==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"10.9.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"22.12.0","dependencies":{"@json-render/core":"0.19.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.19.0_1778131817520_0.32982957386814826","host":"s3://npm-registry-packages-npm-production"}},"0.20.0":{"name":"@json-render/directives","version":"0.20.0","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.20.0","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"a78a4afa5c875324368676faff4d6d63c153fe9e","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.20.0.tgz","fileCount":9,"integrity":"sha512-SVKcYUBZbCP5OHUU0jObwFl1TNmUrUsJ+HF45crhY3V9c9q/Zs6OUOqwgPV7P9aYVKrk7JM1/vZzcjnsSPTeWg==","signatures":[{"sig":"MEUCIEvTleOb/CMXnYFEXxUGoDlRgOf2PEB+eULd7KlZwd3DAiEAp9jLj03umfaK8jmbcKbVufGUIXL2UiNKup5+OQA434M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.20.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.20.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.20.0.tgz","_integrity":"sha512-SVKcYUBZbCP5OHUU0jObwFl1TNmUrUsJ+HF45crhY3V9c9q/Zs6OUOqwgPV7P9aYVKrk7JM1/vZzcjnsSPTeWg==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.17.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@json-render/core":"0.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.20.0_1787077377321_0.6755849353806838","host":"s3://npm-registry-packages-npm-production"}},"0.21.0":{"name":"@json-render/directives","version":"0.21.0","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.21.0","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"351dcbf16423ae4dcb33ebe927a13caab16dbabd","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.21.0.tgz","fileCount":9,"integrity":"sha512-dplsE3R+JWjBTzsR00ifGae17kogEnX148+qDiyIUOpR4uEfasNrksGRSUvhsRHIpneHDGtdz0Ukx3IDEmmS8A==","signatures":[{"sig":"MEQCIAoLbPRqexnpGrI0HyZitzwfNztGQKYPrqnvQ1Jl/SdEAiAU/V/tXAq/8WokEwulgDJeH1dqe247oUYU/Q1OL1CXeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICAmqXNQRPYA+uEOw+8GkobhB4MN+0r17d83EsGa6lxkAiEAh9+LjV6sUdJypR5hHfdiH/707ME1ZQ3Mt2bL7rtBdeI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.21.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.21.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.21.0.tgz","_integrity":"sha512-dplsE3R+JWjBTzsR00ifGae17kogEnX148+qDiyIUOpR4uEfasNrksGRSUvhsRHIpneHDGtdz0Ukx3IDEmmS8A==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@json-render/core":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.21.0_1789757477037_0.9401338603067364","host":"s3://npm-registry-packages-npm-production"}},"0.21.1":{"name":"@json-render/directives","version":"0.21.1","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.21.1","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"60b8d9afbd5a0e9125c7d75becd25459e56c74b7","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.21.1.tgz","fileCount":9,"integrity":"sha512-0UbacXoYS0Q/TAPFlGNgZFArs7tHcgRKuzIiHIXr6SRPipqn7We/pIj3nhRWUe+Rj1d9yGFVblynTL+Tx6yttw==","signatures":[{"sig":"MEQCIAaHqqnPTziYNEP3EreoBoqYVYpXpmgfLpuT1La++4mpAiAJMluIsL54xx70qN15btu0zRB5Zh/8aX5LixpDLnfXlg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDbNwXDvMKpzz1ijTOtm8rE/pDMz32gUZii7dtcApespQIhAJ4uBQHWxnqwN6RuY9HkCEg+d9JF7m951Ji1eeXQAE3t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.21.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.21.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.21.1.tgz","_integrity":"sha512-0UbacXoYS0Q/TAPFlGNgZFArs7tHcgRKuzIiHIXr6SRPipqn7We/pIj3nhRWUe+Rj1d9yGFVblynTL+Tx6yttw==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@json-render/core":"0.21.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.21.1_1791921588416_0.6993274639060476","host":"s3://npm-registry-packages-npm-production"}},"0.21.2":{"name":"@json-render/directives","version":"0.21.2","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.21.2","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"1e9e6304ca863e8ea1084f6a5845b85eb2ca08e6","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.21.2.tgz","fileCount":9,"integrity":"sha512-h1rEf3VfRhVU36moKAZo4CdojceyTSSvDSwVhmt+3L/mHj5uDX6/+KNlKP0F0pyDkEtrnRt5EBeFHdLaxH02pw==","signatures":[{"sig":"MEUCIQCR9AYA8cbos4a6xFS9FnFJbDrftEmaoxWf0reqBBzzRgIge6CZtkASJUJ3/fPsMG61lBFRIadLoph4CfSH50jCFMc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCYrvNXKvhxqifo4V4UFF7qyWNo284IOIdD7tHe3UTf6wIhAJt+Q9GNjMIUO+1iz/F9/QM02mtzBDoLJMi6a7Gq1CY7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.21.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.21.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.21.2.tgz","_integrity":"sha512-h1rEf3VfRhVU36moKAZo4CdojceyTSSvDSwVhmt+3L/mHj5uDX6/+KNlKP0F0pyDkEtrnRt5EBeFHdLaxH02pw==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@json-render/core":"0.21.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.21.2_1792774072736_0.8596693991812416","host":"s3://npm-registry-packages-npm-production"}},"0.21.3":{"name":"@json-render/directives","version":"0.21.3","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.21.3","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"f058b92f58216beadae78635146b549bf23a7b63","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.21.3.tgz","fileCount":9,"integrity":"sha512-kVwlgorM2ITf28YNgDb/xXJEk8UDo+LHvvIJkLogQ7RgiyDV+U5XrZS5jI1DT4XxV6u4uD2jVbNoYhMo/Fgz8A==","signatures":[{"sig":"MEQCIGxxbBxyhI25ubElXarXcySDiK7rFGATkVkZKI/rmun+AiAV7WggBlfZK9Hd+wL+J2wOKyvfD0ElToZaDQJya71NDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDdlY0c5d7C8Be8ckTyZGsNKEfdYWk6Rj6t+NJb6fepFAiEAvvBxVRAHe1P9lXRsdWMS7nfZQECCBQQn/8mYUc46fLo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.21.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.21.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.21.3.tgz","_integrity":"sha512-kVwlgorM2ITf28YNgDb/xXJEk8UDo+LHvvIJkLogQ7RgiyDV+U5XrZS5jI1DT4XxV6u4uD2jVbNoYhMo/Fgz8A==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.0","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.21.0","dependencies":{"@json-render/core":"0.21.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.21.3_1792808965868_0.08282213675817962","host":"s3://npm-registry-packages-npm-production"}},"0.21.4":{"name":"@json-render/directives","version":"0.21.4","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.21.4","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"099bdf08f24d6b9ff2d85a747ceb61042476d3c3","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.21.4.tgz","fileCount":9,"integrity":"sha512-ZMRU+Hg3vR+b0xRGjdSbDsvKR/EmzL/IW377CbFlMo4FiLYSt3guYZziLQl5AM9tRixHiWITVjdhGffepK50uw==","signatures":[{"sig":"MEUCIQClyd9ubV072tdis1psEkyvrdPH2ijwa4h9azmhz4BrEwIgbFFJEA+4fe2SgcdMZ7jNl6whVF+mC5pyRAAKI6FHATo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCts0tnLeYi5LOkZBmgPaszeVvsWw/aehaZvqL/XJFWDQIgAKx5Z/HnWos/UuWDT+YvXYH9T7blorYKd89hzyp8arA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.21.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.21.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.21.4.tgz","_integrity":"sha512-ZMRU+Hg3vR+b0xRGjdSbDsvKR/EmzL/IW377CbFlMo4FiLYSt3guYZziLQl5AM9tRixHiWITVjdhGffepK50uw==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.1","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.22.1","dependencies":{"@json-render/core":"0.21.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.21.4_1793547414621_0.1011779134382994","host":"s3://npm-registry-packages-npm-production"}},"0.22.0":{"name":"@json-render/directives","version":"0.22.0","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.22.0","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"64e2b8953cf2242545c856f2082a417452f72e17","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.22.0.tgz","fileCount":9,"integrity":"sha512-m0TSZfAUzhiHF1YX5Fkdfh/f0EwQu2p/oXEnIx1F9xdtV4UwIqqZ7UG+drNRAFPn8oMxRYdBq4tVXT5/Ksw59g==","signatures":[{"sig":"MEYCIQC74C3kAv1LrBNZx2bKe8BtpyTEXJcs0+3wsBRDmxr/8AIhAJhi9xFwD7dQ34rs5rnvdIxyWN3PbNK0QRQ5KaBNanDY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCyFkSXdRPat4R/9Fyrgmb75ukDjhlEhrLoASdYiC4jnQIgU5gq+iObn8S8FoCIWHNG41akmblMqMDEzw6URbarfbg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.22.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.22.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.22.0.tgz","_integrity":"sha512-m0TSZfAUzhiHF1YX5Fkdfh/f0EwQu2p/oXEnIx1F9xdtV4UwIqqZ7UG+drNRAFPn8oMxRYdBq4tVXT5/Ksw59g==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.1","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.22.1","dependencies":{"@json-render/core":"0.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.22.0_1793828788040_0.599755182748423","host":"s3://npm-registry-packages-npm-production"}},"0.23.0":{"name":"@json-render/directives","version":"0.23.0","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.23.0","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"3d20bd20d08bc15c690a8694c6f561f00c44cfa6","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.23.0.tgz","fileCount":9,"integrity":"sha512-23235885m/RKiAhUgvwNiApDpq8/V+mVDZPw0xJUYtzNkMWXytdr+zEWwy3cDD1/t+m/zMddRYRsL1UfMeJsrw==","signatures":[{"sig":"MEYCIQCKNi39W8w0KCihSmb/8ltUUtH9zKSraZWhBcvuufYplgIhAOCR8H5AorzWUdbQC1eN+Fsq9oROG2wmFyBHUsDLntdU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHsJ0HfFbHIOd/zmR8Xngc4WbNYSZy/MlrW7QZQHUbZfAiB48KRbl1m4XazoukxJXR3Bh8BxVhQGUMf9ESqJeQCRDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.23.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.23.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.23.0.tgz","_integrity":"sha512-23235885m/RKiAhUgvwNiApDpq8/V+mVDZPw0xJUYtzNkMWXytdr+zEWwy3cDD1/t+m/zMddRYRsL1UfMeJsrw==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.1","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.22.2","dependencies":{"@json-render/core":"0.23.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.23.0_1794785594716_0.4101040522519501","host":"s3://npm-registry-packages-npm-production"}},"0.23.1":{"name":"@json-render/directives","version":"0.23.1","keywords":["json-render","directives","format","i18n","math","generative-ui"],"license":"Apache-2.0","_id":"@json-render/directives@0.23.1","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"homepage":"https://json-render.dev","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"becf41203ee27f989b0b74aea9caa74ff6d442ea","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.23.1.tgz","fileCount":9,"integrity":"sha512-AQAA3ZiPeV7mivH4MLtXDzQHf3oBpMCLXJDnnF/zQ5RFQoN3MejLBxvewaVNZaNFsJoXrYFi+5o5fxD3Xahdwg==","signatures":[{"sig":"MEQCID2QYUqXseXeZxmXhNdgnpcDBqrs7SjGhAUP1urN3l3aAiB8Mzcln2EHzw0hnh5D8rE7EOw9reVNObzd35hGRydsaA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICDy5lvxrznbzR6Hqj+kXwj78vco7sw3B2jNGro4zKuIAiADVIRpzDpG5SpRcpeHxZFe3zHk6EvUAryuCmyPcbiHiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.23.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","_from":"file:/tmp/json-render-directives-0.23.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"_resolved":"/tmp/json-render-directives-0.23.1.tgz","_integrity":"sha512-AQAA3ZiPeV7mivH4MLtXDzQHf3oBpMCLXJDnnF/zQ5RFQoN3MejLBxvewaVNZaNFsJoXrYFi+5o5fxD3Xahdwg==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.1","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"_nodeVersion":"24.22.2","dependencies":{"@json-render/core":"0.23.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/directives_0.23.1_1794788790530_0.1958936593067725","host":"s3://npm-registry-packages-npm-production"}},"0.23.2":{"_id":"@json-render/directives@0.23.2","bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"dist":{"shasum":"5fca77c80bea92b333561f2064f12bfede4438fe","tarball":"https://registry.npmjs.org/@json-render/directives/-/directives-0.23.2.tgz","fileCount":9,"integrity":"sha512-46Q0Enhu9lbzgvW52sUD5A1MAgCj6CV36XVPrUdZO2at3W94U5JxAckbCmLPj+IPwNK0KSeTazbFNgURlntJig==","signatures":[{"sig":"MEQCIDxnL9JivRCHgZV8Y5FXTbE4EaAayr+fP+D+fRGkHbzoAiBt3XoDM0uUq8U3HRPzhUTL2gbmM8c9goamBj3s4M3AOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICulz3SBdG7SqivgGTe0W2eg+yXIWHOxypsyI6RaUG9eAiEA2Yz1+CSPYrpJUoptWnaDQ3kRHX0qaZXzsiAbT/9YCdQ="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@json-render%2fdirectives@0.23.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77907},"main":"./dist/index.js","name":"@json-render/directives","_from":"file:/tmp/json-render-directives-0.23.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"license":"Apache-2.0","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit"},"version":"0.23.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"48071bfa-a008-4fa5-9306-d51bd0b943c0"}},"homepage":"https://json-render.dev","keywords":["json-render","directives","format","i18n","math","generative-ui"],"_resolved":"/tmp/json-render-directives-0.23.2.tgz","_integrity":"sha512-46Q0Enhu9lbzgvW52sUD5A1MAgCj6CV36XVPrUdZO2at3W94U5JxAckbCmLPj+IPwNK0KSeTazbFNgURlntJig==","repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"_npmVersion":"11.19.1","description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","directories":{},"maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"_nodeVersion":"24.22.2","dependencies":{"@json-render/core":"0.23.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^4.3.6","tsup":"^8.0.2","vitest":"^4.0.17","typescript":"^5.4.5","@internal/typescript-config":"0.0.0"},"peerDependencies":{"zod":"^4.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/directives_0.23.2_1795068190727_0.28118817663104"}}},"time":{"created":"2026-05-07T05:30:17.424Z","modified":"2026-11-19T06:03:11.288Z","0.19.0":"2026-05-07T05:30:17.677Z","0.20.0":"2026-08-18T18:22:57.466Z","0.21.0":"2026-09-18T18:51:17.116Z","0.21.1":"2026-10-13T19:59:48.514Z","0.21.2":"2026-10-23T16:47:52.824Z","0.21.3":"2026-10-24T02:29:25.956Z","0.21.4":"2026-11-01T15:36:54.710Z","0.22.0":"2026-11-04T21:46:28.102Z","0.23.0":"2026-11-15T23:33:14.811Z","0.23.1":"2026-11-16T00:26:30.626Z","0.23.2":"2026-11-19T06:03:10.843Z"},"bugs":{"url":"https://github.com/vercel-labs/json-render/issues"},"license":"Apache-2.0","homepage":"https://json-render.dev","keywords":["json-render","directives","format","i18n","math","generative-ui"],"repository":{"url":"git+https://github.com/vercel-labs/json-render.git","type":"git","directory":"packages/directives"},"description":"Pre-built directives for @json-render/core — $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t (i18n).","maintainers":[{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"},{"name":"ctate","email":"chris@ctate.dev"}],"readme":"# @json-render/directives\n\nPre-built custom directives for `@json-render/core`. Drop them into your catalog and renderer to add formatting, math, string manipulation, and i18n to your AI-generated UIs.\n\n## Install\n\n```bash\nnpm install @json-render/directives\n```\n\n## Quick Start\n\n```typescript\nimport { standardDirectives } from '@json-render/directives';\n\n// Wire into prompt generation\nconst prompt = catalog.prompt({ directives: standardDirectives });\n\n// Wire into the renderer\n<JSONUIProvider spec={spec} directives={directives}>\n  ...\n</JSONUIProvider>\n```\n\n## Available Directives\n\n### `$format` — Locale-aware value formatting\n\n```json\n{ \"$format\": \"currency\", \"value\": { \"$state\": \"/cart/total\" }, \"currency\": \"USD\" }\n{ \"$format\": \"date\", \"value\": { \"$state\": \"/user/createdAt\" } }\n{ \"$format\": \"number\", \"value\": 1234567, \"notation\": \"compact\" }\n{ \"$format\": \"percent\", \"value\": 0.75 }\n```\n\nFormats: `date`, `currency`, `number`, `percent`. The `value` field accepts any dynamic expression.\n\n### `$math` — Arithmetic operations\n\n```json\n{ \"$math\": \"add\", \"a\": { \"$state\": \"/subtotal\" }, \"b\": { \"$state\": \"/tax\" } }\n{ \"$math\": \"multiply\", \"a\": { \"$state\": \"/price\" }, \"b\": { \"$state\": \"/qty\" } }\n{ \"$math\": \"round\", \"a\": 3.7 }\n```\n\nOperations: `add`, `subtract`, `multiply`, `divide`, `mod`, `min`, `max`, `round`, `floor`, `ceil`, `abs`. Unary ops only use `a`.\n\n### `$concat` — String concatenation\n\n```json\n{ \"$concat\": [{ \"$state\": \"/user/firstName\" }, \" \", { \"$state\": \"/user/lastName\" }] }\n```\n\nEach element is resolved then joined into a single string.\n\n### `$count` — Array/string length\n\n```json\n{ \"$count\": { \"$state\": \"/cart/items\" } }\n```\n\nReturns the length of an array or string. Returns `0` for other types.\n\n### `$truncate` — Text truncation\n\n```json\n{ \"$truncate\": { \"$state\": \"/post/body\" }, \"length\": 140, \"suffix\": \"...\" }\n```\n\nDefault length is 100, default suffix is `\"...\"`.\n\n### `$pluralize` — Singular/plural forms\n\n```json\n{ \"$pluralize\": { \"$state\": \"/cart/itemCount\" }, \"one\": \"item\", \"other\": \"items\", \"zero\": \"no items\" }\n```\n\nOutputs: `\"3 items\"`, `\"1 item\"`, or `\"no items\"`. The `zero` form is optional.\n\n### `$join` — Join array elements\n\n```json\n{ \"$join\": { \"$state\": \"/tags\" }, \"separator\": \", \" }\n```\n\nDefault separator is `\", \"`.\n\n### `createI18nDirective` — Internationalization\n\n```typescript\nimport { createI18nDirective } from '@json-render/directives';\n\nconst t = createI18nDirective({\n  locale: 'en',\n  messages: {\n    en: { \"greeting\": \"Hello, {{name}}!\", \"checkout.submit\": \"Place Order\" },\n    es: { \"greeting\": \"Hola, {{name}}!\", \"checkout.submit\": \"Realizar Pedido\" },\n  },\n  fallbackLocale: 'en',\n});\n```\n\n```json\n{ \"$t\": \"checkout.submit\" }\n{ \"$t\": \"greeting\", \"params\": { \"name\": { \"$state\": \"/user/name\" } } }\n```\n\nThis is a factory function because it requires locale configuration at setup time.\n\n## Composition\n\nDirectives compose naturally — each resolver calls `resolvePropValue` on its inputs:\n\n```json\n{\n  \"$format\": \"currency\",\n  \"value\": { \"$math\": \"multiply\", \"a\": { \"$state\": \"/price\" }, \"b\": { \"$state\": \"/qty\" } },\n  \"currency\": \"USD\"\n}\n```\n\nThis resolves inside-out: `$math` first, then `$format` on the result.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}