{"_id":"@aopslabs/xf-validation","_rev":"2-d4d7e41c147f83827e4279f4d4758061","name":"@aopslabs/xf-validation","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.0":{"name":"@aopslabs/xf-validation","version":"0.2.0","license":"SEE LICENSE IN LICENSE","_id":"@aopslabs/xf-validation@0.2.0","maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"dist":{"shasum":"6a7ae988f0251087cf7f73b2d761739e5bba99c3","tarball":"https://registry.npmjs.org/@aopslabs/xf-validation/-/xf-validation-0.2.0.tgz","fileCount":26,"integrity":"sha512-ycvnYpt1uicyrHMimsyXJFVqmje25H6YQ1AaIN08S80Wd3rwzeT5EWRONMh701dvhm4DIdBE8/CzRmrFbvT3Pw==","signatures":[{"sig":"MEUCIQCN2sa4fxs5mmjAOrH5C5HVeoeLF8q9n2s1C1ArwqOTBAIgJ2M6nWQhKibf9OSBfRHpDkPeAotb/LgsXAo13CJTPN8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42371},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"private":false,"scripts":{"build":"tsc -p tsconfig.lib.json"},"_npmUser":{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"},"repository":{"url":"https://github.com/eeemzs/xf-packages.git","type":"git"},"directories":{},"_nodeVersion":"22.18.0","dependencies":{"tslib":"^2.3.0","effect":"3.20.0","@aopslabs/xf-core":"^0.2.0","@aopslabs/xf-i18n":"^0.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.3","@types/node":"^25.3.0"},"peerDependencies":{"zod":"4.4.3"},"_npmOperationalInternal":{"tmp":"tmp/xf-validation_0.2.0_1785857517704_0.305920315985708","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aopslabs/xf-validation","version":"0.2.1","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"dependencies":{"effect":"3.20.0","tslib":"^2.3.0","@aopslabs/xf-core":"^0.2.1","@aopslabs/xf-i18n":"^0.2.1"},"peerDependencies":{"zod":"4.4.3"},"devDependencies":{"@types/node":"25.3.0","eslint":"9.39.5","typescript":"5.9.3","@aopslabs/eslint-config":"0.0.0","@aopslabs/typescript-config":"0.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"private":false,"repository":{"type":"git","url":"git+https://github.com/eeemzs/tsapps.git","directory":"packages/xf-packages/xf-validation"},"license":"SEE LICENSE IN LICENSE","scripts":{"build":"tsc -p tsconfig.lib.json","lint":"eslint . --max-warnings=0"},"_id":"@aopslabs/xf-validation@0.2.1","description":"Composable Zod validation helpers with localized error resources and structured result conversion for TypeScript applications.","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"},"homepage":"https://github.com/eeemzs/tsapps#readme","_integrity":"sha512-Gvtfmp6QkGsjtLOPz7ehs9rij1HN/eDLSCEp/vEI4yswJaBkiHStBpDgvRv4KoZbh9MH8CsswVzc7VRKPqPDKg==","_resolved":"/home/runner/work/_temp/release-candidates/aopslabs-xf-validation-0.2.1.tgz","_from":"file:/home/runner/work/_temp/release-candidates/aopslabs-xf-validation-0.2.1.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-Gvtfmp6QkGsjtLOPz7ehs9rij1HN/eDLSCEp/vEI4yswJaBkiHStBpDgvRv4KoZbh9MH8CsswVzc7VRKPqPDKg==","shasum":"7172623974ab12336f5ee4dbd100dab4de5a54a2","tarball":"https://registry.npmjs.org/@aopslabs/xf-validation/-/xf-validation-0.2.1.tgz","fileCount":26,"unpackedSize":42568,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUgOiQu2IQlMZhHxv7s/QemmKUJRnkSIcFt5ZTK/Og4wIgTEADgfPZ8F6C3lreltLYl3/ixYTjTnRms7vNMPskT7s="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0bf83f47-4050-4962-8d6f-b81d1bb8150c"}},"directories":{},"maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/xf-validation_0.2.1_1788791303377_0.9661063211560872"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-04T15:31:57.450Z","modified":"2026-09-07T14:28:23.763Z","0.2.0":"2026-08-04T15:31:57.847Z","0.2.1":"2026-09-07T14:28:23.595Z"},"license":"SEE LICENSE IN LICENSE","repository":{"type":"git","url":"git+https://github.com/eeemzs/tsapps.git","directory":"packages/xf-packages/xf-validation"},"maintainers":[{"name":"mzsonmez","email":"mzsonmez2@hotmail.com"}],"readme":"# @aopslabs/xf-validation\n\nComposable Zod validation helpers with localized error resources and structured result conversion for TypeScript applications.\n\n## Install\n\n```bash\nnpm install @aopslabs/xf-validation zod\n```\n\n## Usage\n\n```ts\nimport { z } from 'zod';\nimport { zodErrorToXfResultLegacy } from '@aopslabs/xf-validation';\n\nconst schema = z.object({\n  email: z.string().email(),\n  name: z.string().min(1)\n});\n\nconst parsed = schema.safeParse({ email: 'invalid', name: '' });\nif (!parsed.success) {\n  const result = zodErrorToXfResultLegacy(parsed.error, 'profile');\n  console.log(result);\n}\n```\n\nThe package also exports localized validation contexts, chain helpers, reusable schemas, and Effect-compatible validation errors.\n\n## License\n\nPolyForm Strict License 1.0.0. See `LICENSE` and `NOTICE`.\n","readmeFilename":"README.md","description":"Composable Zod validation helpers with localized error resources and structured result conversion for TypeScript applications.","homepage":"https://github.com/eeemzs/tsapps#readme","bugs":{"url":"https://github.com/eeemzs/tsapps/issues"}}