{"_id":"@duplojs/zod-to-typescript","_rev":"17-fd0f48b8fc5fd1843dc7d917f9355ec7","name":"@duplojs/zod-to-typescript","dist-tags":{"beta":"0.2.4-beta","latest":"0.4.2"},"versions":{"0.1.0":{"name":"@duplojs/zod-to-typescript","version":"0.1.0","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.1.0","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"23f188b75cba4bad1c3a1b38eca315c3836288bd","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.1.0.tgz","fileCount":45,"integrity":"sha512-6Yxam6UkWfr1Hn6N/X0UbJX6j5fNMM8+OWKBGg11/xFpqUGRB3RVUq9CDc94kqbG3fDY6Pnck77OUMOU3+bKNw==","signatures":[{"sig":"MEUCIDFdGZKyuQFMV2bGmWrPn8SYmQQzMeE/WjvR/xw5h3TdAiEAt1pZxkTv1UqBI8KuBSNrnhBNrH8rY2z3T7K3xvMsT44=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79579},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"475e71c4aea1b3a1ca0620c658a7436ec79f5f6b","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0","typescript":">=5.5.4 <6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.1.0_1729440898850_0.44294508866084303","host":"s3://npm-registry-packages"}},"0.2.0-beta":{"name":"@duplojs/zod-to-typescript","version":"0.2.0-beta","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.0-beta","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"07317a208aebe2740409eee48516e4ce5e221d0e","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.0-beta.tgz","fileCount":45,"integrity":"sha512-q0yq49F5nZbZac44fDCK9l2ZcHOujxNr5C4lVA9GvIUqCMoWO4QNWhz2T0s4yo6ZWaq0QzT6bB9JY9T69uJHFg==","signatures":[{"sig":"MEYCIQDRppR6uBCH/Qn0xhdbp7A5iS/g47t0qp04DhOsBWa3dQIhAMlKgotVm6MC0DYXUK7yGThzWgV4C46Recy/EKnZQOhK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55233},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d15d4ff3d6771f6a3bcd95b67b8b7b726d161db3","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0","typescript":">=5.5.4 <6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.0-beta_1729519822168_0.2903247027631941","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@duplojs/zod-to-typescript","version":"0.2.0","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.0","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"9c0a5e9972863ba176d89f9a28892ebe7a378c96","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.0.tgz","fileCount":45,"integrity":"sha512-eak9CGKxZddQ3dKx2kFuf29McDcS0QNzvJLruF9oMqZ58ej9y+uLOxpZVZ4KD55JdkJIQ2/rYTTWLfOOQ9b8LQ==","signatures":[{"sig":"MEQCIF/vioCsnH4NiCcyNSPu1n7tNPbhddCXT5ULTZLYqMxRAiA0v70Vcz8DYhfjTvUvKABlQlF2PIgUJfbCZQK+uBbvlA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55228},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"fade02da287b8159311de1807d322d09192d2f85","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0","typescript":">=5.5.4 <6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.0_1729519919529_0.845233376405421","host":"s3://npm-registry-packages"}},"0.3.0-beta":{"name":"@duplojs/zod-to-typescript","version":"0.3.0-beta","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.3.0-beta","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"c383f27c91af588e1a1e9011a02bb3a34be02f16","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.3.0-beta.tgz","fileCount":45,"integrity":"sha512-7pc4cHf1ftoMqbaHXOiQc7LY2aYXV/a3V/+GXWGwucQ7JBqjeNMIvjJzagJGcLr316uHPxidV0HHLoWEUR1gBQ==","signatures":[{"sig":"MEYCIQDSXabTDN/aCSNTkbMKPiKmHCzas/9fE61VrgLeMWPLMAIhAKRkwn0ue4AKP9ASPAA1U1xPAKgfcl5j1laws6sTBcFj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55225},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"cbc1ade499e829480a52f9fa7b9046cf8270f44d","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.3.0-beta_1729525340266_0.44942957172721676","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@duplojs/zod-to-typescript","version":"0.2.1","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.1","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"c501b89e618be326557a2749330d9353cb834f4e","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.1.tgz","fileCount":45,"integrity":"sha512-/tKr5oSw211vrYgVAgpQBbwAeyh2OlK/FxzGBhEt2Rkx54zswnzWKafx0f0wIAksVpALLqq85olY5UCYPSwfbw==","signatures":[{"sig":"MEUCIEE8E0/e1QJT+CYmPpw8OEXdmyp1txHTgRdZiIgNXoUVAiEA6y44PK9k3FkWHWX8qnE19SeZlT5fZCD916/TQUSENt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55220},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"a86154fa753132b5c13c1c55005cd90cdaca5970","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.1_1729525558088_0.017145669038680866","host":"s3://npm-registry-packages"}},"0.2.2-beta":{"name":"@duplojs/zod-to-typescript","version":"0.2.2-beta","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.2-beta","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"1d7d23fd54f26f28a869f5b6c82d7d48864048c5","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.2-beta.tgz","fileCount":45,"integrity":"sha512-+lWiNAeBK3OzScmIfh283wPiQSD8Pm1F1QeK2omYqsZi3CcwWQ7/02gZl5WcH7ycZvZnPbzrBFRqXf0ZuNqGig==","signatures":[{"sig":"MEUCIQDjdaQdaByx6tB5mTD/psXk7fEz8f3D6/SFufCGzXN7bwIgDj/awfh5dYpe4mjebA3rnNwpvct2lzvfhjYdGuGNCHo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55381},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"f2a6c0ff430c0937a6d9e3df936025019885e1de","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.2-beta_1731664021458_0.48409711287953927","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@duplojs/zod-to-typescript","version":"0.2.2","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.2","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"1276622b5f103c602032500c8ae839ff84316637","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.2.tgz","fileCount":45,"integrity":"sha512-waeYSID70Vl4vyhqySc4pm72MsA4r2Prpj4L3yoJAgrYCjo4cQOOWn4L0gvoPSB4eJxXh2sOPkPmwBBjGU96oA==","signatures":[{"sig":"MEQCID9j99um1SIpoBatWlgqlPXxEmFN2zhPKcadappuo3asAiBopJuuWdNOXXlrWDgNPKMzZ26KqSUdcQTkqioO/jtXlQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55376},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"fb5861351bd79be17b3bab53dece7f3a7d606142","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.0","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.2_1731664529348_0.26927501175813595","host":"s3://npm-registry-packages"}},"0.2.3-beta":{"name":"@duplojs/zod-to-typescript","version":"0.2.3-beta","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.3-beta","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"2c087df11128a9afbc534bd36c75a0eee4317ab3","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.3-beta.tgz","fileCount":45,"integrity":"sha512-G6IoEHEp79FfoH+8XfiYdIaE2vHVxaKWF/8ap4PMcSys3LPzhnWZo1XjjOkSt7cJURCnwlwZiO+qCSdV0k65NA==","signatures":[{"sig":"MEQCIAGMJyiwRj6a8vGjKd3VZUwqc9SkpoZ2avzj/oovSKo5AiAfxJcePAl4o88490KQzLHQrc6MBfYWUcSxszHfwOnnjA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55825},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d8bfab242abcd9cd138f67318b2cab67b870a36c","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.3-beta_1734349742424_0.06795772243888565","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@duplojs/zod-to-typescript","version":"0.2.3","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.3","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"2c33d226a8e820ee2bfcb6f186cfaf255bf9359d","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.3.tgz","fileCount":45,"integrity":"sha512-/k7WD4FEEcIfDT3oCdqXF42jlsN87YTGrKCH2PzT+sWizeAbhswgTgDNPlCMTunLG7GsMqr+1WlNz5MUXT3xAg==","signatures":[{"sig":"MEUCICq7UmRK7P5BuKagWyZcPmcsGuVsBfUAL4HjLDHQVQ/jAiEA7OfnHshVo7kp074fpIJWCwrEC63kJfcStBODbckcPFY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55376},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"66b3c193f9b8e9ee7d70ea354a3814ce12a74a69","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.3_1734349815834_0.6344107199097022","host":"s3://npm-registry-packages-npm-production"}},"0.2.4-beta":{"name":"@duplojs/zod-to-typescript","version":"0.2.4-beta","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.4-beta","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"4f96b21cb2df7d99829ff0277e6ce066798411c0","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.4-beta.tgz","fileCount":45,"integrity":"sha512-FBJWb4Ln5WqTaGCRarsvzlKqyFMRZc+nw8HXl/9Xre1c8T0ZuyzniHysAwoa2T7m5BwUX6vXOCiqGG7Ms6qygQ==","signatures":[{"sig":"MEUCIQCuSjK5P5JNcy/j4lC65jIj3mXz3pxdrn5AUypBL/TDDAIgHy6zQYbSSgEJsvVGfZTEH5u3sTnp8V1moVc2UDSlcd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55849},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"02ba3ef8676ffa2494e33f62384175b5d11dc48b","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.4-beta_1734351765927_0.5956414913185906","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@duplojs/zod-to-typescript","version":"0.2.4","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.2.4","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"817eabb7d4f4a3084c1bce39ba316ae2a125f4f5","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.2.4.tgz","fileCount":45,"integrity":"sha512-IeU/osX+dQTIgyGbYyi0VKd8IMlsGx/XK0aev341ciOei0OgraFTp+4bHjUa7iplwb0vB+jkCxvTYyKDK5JDAA==","signatures":[{"sig":"MEQCIFfuqRQJuIJZWW3XCrLPPwuBSL9cjT+03wVm2LWwDv9JAiAQDa5fMQyBY7TqD74WetAG+orf9DrGmehfZhJi6QaNmA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55846},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"8bb1089753f594c3d0efd2f94437d5ec4b7c44de","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.2.4_1734352128032_0.3845928638703844","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@duplojs/zod-to-typescript","version":"0.3.0","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.3.0","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"387fc759dbb17a9284d01592e8ae8af2ce3da0f9","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.3.0.tgz","fileCount":45,"integrity":"sha512-v4fP+t/urLUvFQgLbtlDNSjQ8YmATdoHjr26QzMIAmL+6Xtv/qkUpLMyfZ8bM4D2uN1KXUiu/gmoHDH2hk/xnw==","signatures":[{"sig":"MEYCIQDGf8S/hGMYbYePshxCF0AGn4fV51ALcCh3mr0IetgAwgIhAPxhvVIYlM1JLgf52JPMvogXrp/j91SRKJF8Bb/EUeBi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57474},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"221c2657a4850a5177c8fde67fa334076a835924","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.4","tslib":"^2.6.3","eslint":"9.9.0","rollup":"^4.24.0","vitest":"2.0.5","tsc-alias":"^1.8.10","@types/node":"22.1.0","@commitlint/cli":"19.4.0","@duplojs/eslint":"0.2.3","vite-tsconfig-paths":"^5.0.1","rollup-plugin-esbuild":"6.1.1","@rollup/plugin-typescript":"^11.1.6","@vitest/coverage-istanbul":"2.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.3.0_1736954141185_0.2831316644149977","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@duplojs/zod-to-typescript","version":"0.3.1","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.3.1","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"f06e90f9ae0d2224995a00c932d44023fcc56294","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.3.1.tgz","fileCount":45,"integrity":"sha512-35qc7MsDJROBQfRN2MF09M7vhMT/vA+HtQ/viSdHT8uSiNrbPx7EKO27CLzGdcDvkYYVNRz9OU4qVokVD4EY0A==","signatures":[{"sig":"MEUCIQCqKzqJhq8Z24qnZ9jV9vjhZMtBDgnj/RwhOQh1O/TMEAIgA/wlTj/fYNXIE9e/b97lVkQzdoENOyUiE0LBN2y6QuU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58150},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"9097602556a3a4f01e3036bafa16594d11217bc5","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.3","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","tslib":"2.8.1","eslint":"9.20.0","rollup":"4.34.6","vitest":"3.0.5","tsc-alias":"1.8.10","typescript":"5.7.3","@types/node":"22.1.0","@commitlint/cli":"19.7.1","@duplojs/eslint":"0.4.0","vite-tsconfig-paths":"5.1.4","rollup-plugin-esbuild":"6.2.0","@rollup/plugin-typescript":"12.1.2","@vitest/coverage-istanbul":"3.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.3.1_1741863074485_0.25549128993182335","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@duplojs/zod-to-typescript","version":"0.4.0","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.4.0","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"f2396dee6f217ea4636c72d103dcf39dd7f54f14","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.4.0.tgz","fileCount":46,"integrity":"sha512-YseI8ZmNOCrJddC+YftVmil4iUd+0rnpwhAidUKHimG8jHr3fbrk3U6ok4G/wKg6gRqe/5Ja+we7KkBojEay2w==","signatures":[{"sig":"MEUCIDABkNiNDcFWkphqksVEWrV4681kvPURdENBsn4F9BPIAiEAptawFOj1zmHabw6ySzwH6A0dxd+cF5O3dXncM8zjHJw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60838},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"28c96f23e24286731903e5df6b4e11c23d1b138c","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.18.3","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","tslib":"2.8.1","eslint":"9.20.0","rollup":"4.34.6","vitest":"3.0.5","tsc-alias":"1.8.10","typescript":"5.7.3","@types/node":"22.1.0","@commitlint/cli":"19.7.1","@duplojs/eslint":"0.4.0","vite-tsconfig-paths":"5.1.4","rollup-plugin-esbuild":"6.2.0","@rollup/plugin-typescript":"12.1.2","@vitest/coverage-istanbul":"3.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.4.0_1741885669114_0.07226026650305917","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@duplojs/zod-to-typescript","version":"0.4.1","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.4.1","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"ea76586e591b33e5efdee5634540f6fce7c72041","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.4.1.tgz","fileCount":48,"integrity":"sha512-8OD4lY4F3MfRzXxsdD0PFxW/w3qVK3tKKKRA0C3O9P4a35F3cGip/T0d8Wyq8us0gFU0WxSEAOeN70fWHzm8OA==","signatures":[{"sig":"MEUCIDnLtUc6YbeeuazEDk9wGXt18p0UUVIq+oA+/iR3EO7CAiEA+TSMxa3BlT6buxfPaxJiS331LPKQmyHGTOndVLGlOmQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61573},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"d9e0ba34ab31b8c1a667d2038001ec1cd6880216","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.19.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","tslib":"2.8.1","eslint":"9.20.0","rollup":"4.34.6","vitest":"3.0.5","tsc-alias":"1.8.10","typescript":"5.7.3","@types/node":"22.1.0","@commitlint/cli":"19.7.1","@duplojs/eslint":"0.4.0","vite-tsconfig-paths":"5.1.4","rollup-plugin-esbuild":"6.2.0","@rollup/plugin-typescript":"12.1.2","@vitest/coverage-istanbul":"3.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.4.1_1746088334626_0.6171011067105787","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@duplojs/zod-to-typescript","version":"0.4.2","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"author":{"name":"duplojs"},"license":"MIT","_id":"@duplojs/zod-to-typescript@0.4.2","maintainers":[{"name":"mathcovax","email":"campani.mathieu@gmail.com"}],"contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"homepage":"https://github.com/duplojs/zod-to-typescript#readme","bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"dist":{"shasum":"d7dd2d4f60e479529fdafafc04a8fffdc001d6a1","tarball":"https://registry.npmjs.org/@duplojs/zod-to-typescript/-/zod-to-typescript-0.4.2.tgz","fileCount":48,"integrity":"sha512-W45xPeaGleN4LVnUcZXMoh2IulndYH0+OZDdqPs0/9FtTf/ILTmrX6GvVgauQKrdYzYv1SBmVygkReNMkJZ6ZA==","signatures":[{"sig":"MEQCIHE2jVKbQKlPnIPC+4+LQyMrt2c3/k9JytRSWgXgD3T+AiAyJ8Sfz6i5CkeR3iPl/VSRRGkgjZPk1TM9OPgZnp9OfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61921},"type":"module","types":"./dist/index.d.ts","exports":{"default":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"792c2f7739a2221b38f9dd14d339d7809276cc09","scripts":{"build":"rollup --config && tsc-alias -p tsconfig.build.json","prepare":"husky","test:tu":"vitest --coverage","test:lint":"eslint","test:types":"npm run test:types:scripts","test:lint:fix":"eslint --fix","test:tu:watch":"vitest --coverage --watch","test:tu:update":"vitest --coverage --update","test:types:scripts":"tsc"},"_npmUser":{"name":"mathcovax","email":"campani.mathieu@gmail.com"},"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"_npmVersion":"10.8.2","description":"<a name=\"top\"></a>","directories":{},"_nodeVersion":"20.19.1","dependencies":{"typescript":"5.5.4"},"_hasShrinkwrap":false,"devDependencies":{"husky":"9.1.7","tslib":"2.8.1","eslint":"9.20.0","rollup":"4.34.6","vitest":"3.0.5","tsc-alias":"1.8.10","typescript":"5.7.3","@types/node":"22.1.0","@commitlint/cli":"19.7.1","@duplojs/eslint":"0.4.0","vite-tsconfig-paths":"5.1.4","rollup-plugin-esbuild":"6.2.0","@rollup/plugin-typescript":"12.1.2","@vitest/coverage-istanbul":"3.0.5","@commitlint/config-conventional":"19.2.2"},"peerDependencies":{"zod":">=3.23.8 <4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-to-typescript_0.4.2_1747141047391_0.4613170524674499","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-10-20T16:14:58.750Z","modified":"2026-08-14T22:10:01.732Z","0.1.0":"2024-10-20T16:14:59.025Z","0.2.0-beta":"2024-10-21T14:10:22.425Z","0.2.0":"2024-10-21T14:11:59.938Z","0.3.0-beta":"2024-10-21T15:42:20.465Z","0.2.1":"2024-10-21T15:45:58.278Z","0.2.2-beta":"2024-11-15T09:47:01.659Z","0.2.2":"2024-11-15T09:55:29.537Z","0.2.3-beta":"2024-12-16T11:49:02.593Z","0.2.3":"2024-12-16T11:50:15.993Z","0.2.4-beta":"2024-12-16T12:22:46.098Z","0.2.4":"2024-12-16T12:28:48.212Z","0.3.0":"2025-01-15T15:15:41.383Z","0.3.1":"2025-03-13T10:51:14.704Z","0.4.0":"2025-03-13T17:07:49.346Z","0.4.1":"2025-05-01T08:32:14.808Z","0.4.2":"2025-05-13T12:57:27.564Z"},"bugs":{"url":"https://github.com/duplojs/zod-to-typescript/issues"},"author":{"name":"duplojs"},"license":"MIT","homepage":"https://github.com/duplojs/zod-to-typescript#readme","keywords":["zod","typescript","zod-to-ts","zod-typescript","typescript-generator","type-generation"],"repository":{"url":"git+https://github.com/duplojs/zod-to-typescript.git","type":"git"},"description":"<a name=\"top\"></a>","contributors":[{"url":"https://github.com/mathcovax","name":"mathcovax"},{"url":"https://github.com/ZeRiix","name":"ZeRiix"}],"maintainers":[{"email":"campani.mathieu@gmail.com","name":"mathcovax"},{"email":"williamflorentin@outlook.com","name":"zeriix"}],"readme":"<a name=\"top\"></a>\n\n<p align=\"center\">\n  <img src=\"./logo.png\" alt=\"logo\" />\n</p>\n<p align=\"center\">\n  <span style=\"font-size: 24px; font-weight: bold;\">Zod To Typescript</span>\n</p>\n<p align=\"center\">\n  <a href='#'>\n    <img src='https://img.shields.io/badge/types-TypeScript-blue?logo=typescript&style=plastic' alt='coverage' />\n  </a>\n  <a href=\"#\">\n    <img src=\"https://img.shields.io/badge/coverage-100%25-green?style=plastic\" alt=\"lang\">\n  </a>\n  <a href=\"https://www.npmjs.com/package/@duplojs/zod-to-typescript\">\n    <img src=\"https://img.shields.io/npm/v/@duplojs/zod-to-typescript\" alt=\"lang\">\n  </a>\n</p>\n\n`@duplojs/zod-to-typescript` is a library that converts Zod schemas to TypeScript types.\n\n## Installation\n\nTo consume `@duplojs/zod-to-typescript`, you need to install the npm package and zod.\n```bash\nnpm install @duplojs/zod-to-typescript zod\n```\n\n## Usage\n\n### 1. Import necessary modules\n\n```ts\nimport { z as zod } from 'zod';\nimport { ZodToTypescript } from '@duplojs/zod-to-typescript';\n```\n\n### 2. Define Zod schema\n\nCreate a Zod schema that you want to convert to TypeScript:\n```ts\nconst schema = zod.object({\n  name: zod.string(),\n  age: zod.number(),\n  isStudent: zod.boolean(),\n});\n```\n\n### 3. Convert Zod schema to TypeScript type\n\nUse the `convert` method of `ZodToTypescript` to convert the Zod schema to a TypeScript type declaration:\n```ts\nconst options: ConvertOptions = {\n    name: \"User\", // Optional: Specify a name for the TypeScript type\n    export: true, // Optional: Export the TypeScript type\n};\n\nconst tsType = ZodToTypescript.convert(userSchema, options);\n```\n\n### 4. Output the TypeScript type\n\nThe `convert` method returns a string containing the TypeScript type declaration. You can output this string to a file or use it directly in your code:\n```ts\nconsole.log(tsType);\n// output:\nexport type User = {\n  name: string;\n  age: number;\n  isStudent: boolean;\n};\n```\n\n### 5. Full Example\n\n```ts\nimport { z as zod } from 'zod';\nimport { ZodToTypescript } from '@duplojs/zod-to-typescript';\n\nconst schema = zod.object({\n  name: zod.string(),\n  age: zod.number(),\n  isStudent: zod.boolean(),\n});\n\nconst options: ConvertOptions = {\n    name: \"User\",\n    export: true,\n};\n\nconst tsType = ZodToTypescript.convert(schema, options);\n\nconsole.log(tsType);\n// Output: \nexport type User = { \n    name: string; \n    age: number; \n    isStudent: boolean; \n};\n```\n\n### 6. Using Identifiers\n\nIdentifiers allow you to give a name to a schema. You can also use a schema directly as an identifier. This can be useful when you have nested schemas and want to refer to them by name.\n\n```ts\nimport { ZodToTypescript, ConvertOptions } from \"@duplojs/zod-to-typescript\";\nimport { z as zod } from \"zod\";\n\n// Define your schemas\nconst addressSchema = zod.object({\n    street: zod.string(),\n    city: zod.string(),\n    zipCode: zod.string(),\n});\n\nconst companySchema = zod.object({\n    name: zod.string(),\n    address: addressSchema,\n}).identifier(\"Company\"); // automatically identifies the schema as \"Company\"\n\nconst employeeSchema = zod.object({\n    employeeId: zod.number(),\n    name: zod.string(),\n    position: zod.string(),\n    company: companySchema,\n})\n\n// Convert the Employee schema to TypeScript\nconst options: ConvertOptions = {\n    name: \"Employee\",\n    identifiers: [\n        {\n            name: \"Address\", // define manually\n            zodSchema: addressSchema,\n        },\n    ],\n    export: true,\n};\n\nconst tsType = ZodToTypescript.convert(employeeSchema, options);\n\nconsole.log(tsType);\n// Output:\nexport type Address = {\n    street: string;\n    city: string;\n    zipCode: string;\n};\n\nexport type Company = {\n    name: string;\n    address: Address;\n};\n\nexport type Employee = {\n    employeeId: number;\n    name: string;\n    position: string;\n    company: Company;\n};\n```\n\n### 7. Recursive Schemas\n\nRecursive schemas allow you to define schemas that reference themselves. This is useful for defining structures like trees or linked lists. You can use `zod.lazy()` to create recursive schemas.\n\n```ts\nimport { ZodToTypescript, ConvertOptions } from \"@duplojs/zod-to-typescript\";\nimport { z as zod } from \"zod\";\n\nconst categorySchema = zod.object({\n    name: zod.string(),\n    subcategories: zod.lazy(() => categorySchema.array()),\n}).identifier(\"Category\");\n\nconst tsType = ZodToTypescript.convert(categorySchema, { export: true });\n\nconsole.log(tsType);\n// Output:\nexport type Category = {\n    name: string;\n    subcategories: Category[];\n};\n```\n\n### 8. New instance\nYou can create instance of `ZodToTypescript` to make an environment types.\n\n```ts\nimport { ZodToTypescript } from \"@duplojs/zod-to-typescript\";\nimport { z as zod } from \"zod\";\n\nconst commentSchema = zod.object({\n    user: zod.lazy<any>(() => userSchema),\n    content: zod.string(),\n}).identifier(\"Comment\");\n\nconst postSchema = zod.object({\n    title: zod.string(),\n    content: zod.string(),\n    date: zod.coerce.date(),\n    comments: commentSchema.array(),\n});\n\nconst userSchema = zod.object({\n    userId: zod.number(),\n    firstname: zod.string(),\n    lastname: zod.string(),\n    posts: postSchema.array(),\n});\n\nconst ztt = new ZodToTypescript();\n\nztt.append(commentSchema);\nztt.append(userSchema, \"User\");\nztt.append(postSchema, \"Post\");\n\nconst tsType = ztt.toString()\n\nconsole.log(tsType);\n// Output:\ntype Comment = {\n    user: User;\n    content: string;\n};\n\ntype User = {\n    userId: number;\n    firstname: string;\n    lastname: string;\n    posts: Post[];\n};\n\ntype Post = {\n    title: string;\n    content: string;\n    date: Date;\n    comments: Comment[];\n};\n```\n\n### 9. Hooks\nConverting a Zod schema to TypeScript requires making choices. Should we generate the type based on the schema's output or the type expected by the schema? Zod-to-Typescript has made these choices, but it doesn't impose them on you. Thanks to the hooks, you can choose your use cases.\n\n```ts\nimport { ZodToTypescript } from \"@duplojs/zod-to-typescript\";\nimport { z as zod } from \"zod\";\n\nconst zodSchema = zod.object({\n    prop1: zod.date(),\n    prop2: zod.number(),\n});\n\nconst tsType = ZodToTypescript.convert(\n    zodSchema,\n    {\n        name: \"Schema\"\n        zodSchemaHooks: [\n            (zodSchema, context, output) => output(\n                \"next\",\n                zodSchema instanceof ZodNumber && zodSchema._def.coerce\n                    ? zod.number().optional()\n                    : zodSchema,\n            ),\n            (zodSchema, context, output) => output(\n                \"stop\",\n                zodSchema instanceof ZodDate ? zod.string() : zodSchema,\n            ),\n        ],\n    },\n);\n\nconsole.log(tsType);\n// Output:\ntype Schema = {\n    prop1: string;\n    prop2?: number | undefined;\n};\n```\n\nHooks are functions that intercept the Zod schema before it looks for its transformer. This allows returning another schema instead. The hook must return the result of the output function. output takes a string as its first argument (\"next\" or \"stop\"), which indicates whether the hook execution should stop or continue after it. The second argument corresponds to the schema that will be interpreted.\n\n### 10. Override type node\nIf you want to make a `zodSchema` give a specific result, you can override its `TypeNode`.\n\n```ts\nimport { ZodToTypescript } from \"@duplojs/zod-to-typescript\";\nimport { z as zod } from \"zod\";\nimport { factory } from \"typescript\";\n\nconst zodSchema = zod.string().overrideTypeNode(\n    factory.createTypeReferenceNode(factory.createIdentifier(\"RegExp\")),\n);\n// or\nconst zodSchema = zod.string().overrideTypeNode(\n    (ts) => ts.factory.createTypeReferenceNode(ts.factory.createIdentifier(\"RegExp\")),\n);\n\nconst tsType = ZodToTypescript.convert(\n    zodSchema,\n    {\n        name: \"MySchema\"\n    }\n);\n\nconsole.log(tsType);\n// Output:\ntype MySchema = RegExp;\n```\n\n### More Examples\n\nFor more examples, please check the unit tests for each type in the `tests` directory. The tests provide comprehensive examples of how to use each supported type with `ZodToTypescript`.\n\n## Acknowledgements\n\nI would like to thank [sachinraja](https://github.com/sachinraja) for creating the [zod-to-ts zod](https://github.com/sachinraja/zod-to-ts) package, which served as an inspiration for this project.\n","readmeFilename":"README.md"}