{"_id":"@zodyac/zod-mongoose","_rev":"23-f0c96cee6e8a3fe64ba227762d5c05d4","name":"@zodyac/zod-mongoose","dist-tags":{"latest":"4.2.2"},"versions":{"1.0.6":{"name":"@zodyac/zod-mongoose","version":"1.0.6","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.0.6","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"54099eb842472caa514b3b1b163baca4b617c749","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.0.6.tgz","fileCount":8,"integrity":"sha512-ER1Yaf3Fuz38cP7Xczws4kuKYMWxhtMefDEltM9gJ2fe1Si1QsR1V/hLJXyzHXPW5Tm7k3banIKB5OiYUuvteQ==","signatures":[{"sig":"MEQCICvnt3FNFubHrXgc4WH5KPr6B3eEgeGQfIPm2aLiI5TEAiA+5fXfwdWXvmwqBBjlMVd8H5Aqwm1tnr62C8BT8Vrg/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38619},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"3475fbbbc599f340877c6e01ca90b059c9969b6e","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.1.0","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"18.17.0","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.0.6_1704980131571_0.4211562953228223","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@zodyac/zod-mongoose","version":"1.0.7","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.0.7","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"88bf2effc3804eb93cae812c6e709eee5974f926","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.0.7.tgz","fileCount":8,"integrity":"sha512-jxfg6Y3UphLJe94jmNGSSQhie7i0zuOj6g74V/wRF9jhmGdlJuTlB5t2gibyV6iXCHPw4cCKOvzK4OvOulDrQg==","signatures":[{"sig":"MEYCIQCaoyvAX5y4yGd8xR0N59hX9ubIkeMVTYQwrpan3onCHAIhAM7C762Y2kDf9L2k0k+i0+a8/wg5zrglwfHCakWmXIAl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38635},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"506bc0e304ffc0f239ffed92f9b124cd24562a2a","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.2.3","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.0.7_1706016175426_0.9879039612572575","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@zodyac/zod-mongoose","version":"1.1.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.1.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"93c363beaef9dff2cf5b0ccb963d552528df041b","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.1.0.tgz","fileCount":8,"integrity":"sha512-ce3uJXtXG7k2rGPaUqq6s1fDz9RvtxG8COFQcknRJcg+CopT3SgIW0ugwXKOwl8VJmWjAWSmmFqADoXI9Cv4WQ==","signatures":[{"sig":"MEQCIFE+Z7ttxoKGbGQbMQXnpdCx4MWL8xKxRkT8FwhnhJ1QAiAn89z5OfmHyFo6Qt3dd94kQr9v+YWUFva38W1c4i82jw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43979},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a425fd04d258380e82216a9c9cd16b6e373537a8","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.2.4","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.1.0_1708689776462_0.9497210616689928","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@zodyac/zod-mongoose","version":"1.1.1","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.1.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"fb481371aaed19e057d0ca91eafab0553897e12b","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.1.1.tgz","fileCount":8,"integrity":"sha512-Er39/ZQZLzNkucTo/sz6GKvhCE4r0tampQM5VdKmj/9PsoF2pp4Gt1NDw1woJxZWqQFtNmAJ6RRdpWrJ6C460Q==","signatures":[{"sig":"MEYCIQDnuh6UPNz+3myeAzmCPQEbakKjCztMpm8TPcYuoBh3yQIhAJMjGlUqzkpAYZEmYI/Z0KEO/ojHcX1qds1iTYIslyuy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43979},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a5de56f09dba8730d0b80ca84cd3ed242c64b7f0","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.2.4","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.1.1_1708689866250_0.24458989562260958","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@zodyac/zod-mongoose","version":"1.1.2","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.1.2","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"f1590a286ef1c9fd72792ce2eeed7b42a0ed38b4","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.1.2.tgz","fileCount":8,"integrity":"sha512-Po8f800oKoLx+rt+XQy9bU4NPGscinsvTqOz360ErM3PKPpzhU9AthSw83356YFS+XVzDx5zwemB31k0zYw21w==","signatures":[{"sig":"MEUCIEoAWI30S3A5+1Hnq4QdbiWIwrXvuGMWnie1Lr0m1//iAiEAtqBZat/k9QaH4YD4U86WrKXBNWpMWyUIyhYd/CtfRQA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44099},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"3f4bb80dc4d57469b64038bea9b5c133401ff0d4","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.2.4","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.1.2_1708690077046_0.6898379719159808","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@zodyac/zod-mongoose","version":"1.1.3","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.1.3","homepage":"https://zodyac.dev/toolbox/zod-mongoose","bugs":{"url":"https://github.com/git-zodyac/mongoose/issues"},"dist":{"shasum":"14af8bf367108441fa9d94457e81ee3257574fd6","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.1.3.tgz","fileCount":8,"integrity":"sha512-Yi6tkgvy8LrJkNqBXYYITcTCKowpvw+7NDIh4Sjh5JLdYnuhAWt6a2dfs0l+X7+uCktSTPvKhV4ZetIBFBvOdw==","signatures":[{"sig":"MEQCIBsuJ+TVLTD4HRN0qLJvYL8EJVWnxuUUn3I/IGqFMl8sAiAPFkZeCmK6QlGKldlipjOtEKlPcacIUx37i6FWIzW6rg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46069},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"fc1d52722b63cf23798e6524b9933d51c1db3ae4","private":false,"scripts":{"test":"ts-node --esm ./src/test/test.ts","build":"tsup"},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"git+https://github.com/git-zodyac/mongoose.git","type":"git"},"_npmVersion":"10.7.0","description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"_nodeVersion":"20.15.0","dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","eslint-plugin-prettier":"^5.1.0","@typescript-eslint/parser":"^6.15.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.1.3_1719872606636_0.22300257245859756","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@zodyac/zod-mongoose","version":"2.0.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.0.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"ee9ec035ed9cfbb08aab6ac9f654be2775a914db","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.0.0.tgz","fileCount":11,"integrity":"sha512-h9KoB4pxwATepbCLAyDC2d4VfRB5ry0yXwV6lq3lf0V4GX8+m2GfOcLfwybK6gukiNtzgWU/F6tPhogi8aChGg==","signatures":[{"sig":"MEUCIQDitSstWyBCnnd30Z4FFBJe3erSB8Te6S+NN5n36o7rIgIgF31U9G3u+RzFZ7KDA4oC+flhtMzqQEUm9F8zCCRBG/Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67384},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.0.0_1724255581064_0.380727693937142","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@zodyac/zod-mongoose","version":"1.3.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@1.3.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"64ea1e941e431ef6cfe2988eda38d07241c98bbd","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-1.3.0.tgz","fileCount":11,"integrity":"sha512-UOcvEBtAGg/0K+zTVFo0+lriFCFfTl9h2R7bQm+Eu+upWlvdNPdcyYE5uXHNwNZek73w2JvgOelWVfXuq+DHiQ==","signatures":[{"sig":"MEUCIAXpqu7oKSpE0EoDlwVRqX24SXel5sKrHNlJLKyp3vpMAiEAx35JAZJi+PMoEXf79ObqEVoMTYKFHINw0nnEPWRygKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67422},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_1.3.0_1725032252425_0.4295365703330125","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@zodyac/zod-mongoose","version":"2.0.1","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.0.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"34956c82cbbffd24297932205fcfbad14c7be4e3","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.0.1.tgz","fileCount":11,"integrity":"sha512-0glnyDehfuRLS2vr7rswlmJ0tpFNZotxbIgntJaw4l1jGVMwxw53OFxgOZ9eB/eB0MaSk2ltOld1Lt9d8T2qUQ==","signatures":[{"sig":"MEQCIEDTfiAZG7TuV+RJl3VAY6Nlz+GtN2h1svdVeKhAkfWhAiBY8ndQ9P2ydYr7cWCxGgwsgAMv/Kd0SZWsdOt1I0q/Cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67422},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.0.1_1725032472115_0.7940964579012355","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@zodyac/zod-mongoose","version":"2.1.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.1.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"4b11956dc3032367733926e16810605785a57e64","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.1.0.tgz","fileCount":11,"integrity":"sha512-O1bU0zypKrOJSChf73xVTrLfAVPpkZqgHVPeAfbRhAUuUArbMfXZMbOmarpDWfjX/uebFnGblW+aSDzlGVVeEA==","signatures":[{"sig":"MEUCIQC2SdlzAntpoZDNHMWtpPjP2kzqxJecZF4iMWq/Xyxm/gIgLWJSryDypSpkqoJP0xxwsnsoiotTA1maBbuVRGrszEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69147},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.1.0_1725750364784_0.9957340957820167","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@zodyac/zod-mongoose","version":"2.2.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.2.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"b9e3983fb9f1e7ff26fa3aad1e842e18e21b01fd","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.2.0.tgz","fileCount":11,"integrity":"sha512-gOfdDa2mZ4kT6CI3yC4LnZHIs+rOLfIWFHq5OUTrOJSddhNG0ooWW8McXFz99cTvY5/qqrNWEVuub/51vkPxGg==","signatures":[{"sig":"MEUCIDLJL34GzNaNJgMwzzCYtHglS440/ML4jjvC9+SsnWPhAiEAuEG+WnfBD+0o4pKKSnlPh7ywYEHFZyaCXIldtF6fZQk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69170},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.2.0_1726360249296_0.6840140666622958","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@zodyac/zod-mongoose","version":"2.3.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.3.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"907413a711fcaea6af4efcefa16281ee0ba67ea9","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.3.0.tgz","fileCount":11,"integrity":"sha512-YFCPozseQBhukLxPTBgoKFkZpqL4HdHUyeWJ0DL2OuzxAnxp1JSA1LjlWq7YrAcr5V6/p5r2qTakhCx+bpJP9Q==","signatures":[{"sig":"MEUCIFI4qmPef6NJVsYrL4L4TksN+i+DiFspRVa1Sfc/z6idAiEAitKI5Fe2o8idGnX9JUbzoTbhnTmcBnWk/jWBex2oL0Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81113},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.3.0_1726360643824_0.7025493640804907","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@zodyac/zod-mongoose","version":"2.3.1","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.3.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"e1c251ca0c016fe16f6b00e0d8060e8e71b20c6a","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.3.1.tgz","fileCount":11,"integrity":"sha512-R001yjW/m+7cGvTQlJYp09R4+QQffNzJ+TRpuj6nyd0w99+lkfFA1RFfO8iuWLwvbVMQJc1qBvSKLKAr4rsWVg==","signatures":[{"sig":"MEYCIQDXewdzM7+AkkQiwOvSosZ1uCyLg86z32jKQdQYmt/RawIhAMI8uYn8GDrPtLpOFxqJ7ACou4llHdizEjZwajt5Oky4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81056},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.3.1_1726360935123_0.5399194467970758","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"@zodyac/zod-mongoose","version":"2.3.2","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.3.2","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"043bea7b5dcff39e37b5856c9f0f815d15efe253","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.3.2.tgz","fileCount":11,"integrity":"sha512-6HZ9f+bHz2zrwYjZpzGe+wI60XfV9JyrKwHzPF9hEqLBeuo0/XHmi5skCKjaIyLIgStI6jQf0HMP6mctjYWfzA==","signatures":[{"sig":"MEUCIQCtcRHHVdw6erEEtZvsDzs6O7DXlkCBieI2+mtYY4RQwgIgbgtjr3yZyAauVV3llefMZp0xAbe5i8NU3lwbNVj7PwM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78717},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.3.2_1726792317308_0.09820013617988788","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"@zodyac/zod-mongoose","version":"2.3.3","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@2.3.3","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"f3984ee9d2ca68e0dec0249bafd378a1ef05285f","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-2.3.3.tgz","fileCount":11,"integrity":"sha512-QedK0iJjdg83gwjHNBiAEEayL1LOCCzmz6Ht3t8FQh05RU8i5o6hYuO+zzUJ6nOzpGaWziZWdlihPZZ2jRRILw==","signatures":[{"sig":"MEUCICZHkIozumWnmdTRF9C2SwZfyVd5omoajzyVCTibBQ4dAiEA6V+B4InNsE9SDEKCZ/HNasc8U5y139Z3f67Vmh/J0LI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78900},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_2.3.3_1726941499975_0.27510278136490185","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@zodyac/zod-mongoose","version":"3.0.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@3.0.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"a6b6143357ae268e1a1ca91e4c8d44dc7224681e","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-3.0.0.tgz","fileCount":11,"integrity":"sha512-eHbmEBx96q0uHqGvacwF4w+6l2/FzfAun6fTXmh25JKXjhjywVLE5/o7ApKXMCbI90FeGGHXxcuFY0Qazc8KUA==","signatures":[{"sig":"MEUCIBKhOuya04wja4YkP5FV4Vz3kKolP1Ia5wWVkrlLguq1AiEAlHdRAuTsfY5XZW3pzHj2K+05TSzBkmGj//6J/3cJjPQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":102932},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_3.0.0_1729340194313_0.8357658645245867","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@zodyac/zod-mongoose","version":"3.1.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@3.1.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"57e14d37c355a3f958a6d3c23b4b74b24b8b4fd6","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-3.1.0.tgz","fileCount":11,"integrity":"sha512-MFVdHzMv4V/c0Vlsa9cf4Ek4OQJ/VGtenWCX2CmMBZq8E+Is/+tYeMVsvcmtJ8uSS1uiBSuWV5vjQ4OQ9ZJNtg==","signatures":[{"sig":"MEYCIQD5/8jVrbtZJ7taOWp8k4XmzSxwFB766FhUPNYwWEB0hgIhAN5cxWdjtjpx7MYEq0yiw8VnahGW1j91wcvdtoZrqfK7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103123},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_3.1.0_1736157360323_0.994057649203079","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@zodyac/zod-mongoose","version":"3.2.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@3.2.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"cfb51a09f7b2b39d221ee3a1b57d04e216eff0de","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-3.2.0.tgz","fileCount":11,"integrity":"sha512-M399CbDkYJa2AYjawc4PaANk6LCD9vM/B66GNJ7EqJlh3A3BTrOSMEcIatxqUCToKQj6x5O9i3yhM2LqMqutJg==","signatures":[{"sig":"MEUCIAyNGr2eJ/GWo8ciaOgg3iQpg8xcBhRX9Dk4BBl+3cPQAiEAqUM7PnLEz4nqU+7x70vTO2swoBV7ovkErB/6fs9VRok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":107607},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"dependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.0.1","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_3.2.0_1736695371632_0.3709173126056391","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@zodyac/zod-mongoose","version":"4.0.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@4.0.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"b738f81884b93dc306c98eb52c5aed7f29d0f334","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-4.0.0.tgz","fileCount":11,"integrity":"sha512-nFclvhfxdeMbkvba9KqgjTx5iQ7ze9mFR+DQEsUPal5GCRKj8K6WIGCe1w+Ydrb4mDljeBCBBQgae/auMJX44w==","signatures":[{"sig":"MEYCIQCmIsAr3k16PBvpn2JZ9lnMG18CdB+d86+fA/ay7ju5QgIhAOxXkNM67hMLZxxWBShagVOABVcvHzf/EK0zkJZKbiWW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106444},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","tsup":"^8.0.1","mongoose":"^8.0.3","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"peerDependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_4.0.0_1748026829003_0.7109680333670139","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@zodyac/zod-mongoose","version":"4.1.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@4.1.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"bd91d0899fa15e462ac691929a630f60ffb9236e","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-4.1.0.tgz","fileCount":11,"integrity":"sha512-K1XaZIUDE47ryxG4tfaA11mK8t/PYjGdpD1M3bCjY0kEHvwq0xXgRh8UayczNz4fP0+0y8pj4pkUPs0NW3hWHw==","signatures":[{"sig":"MEUCIQCG8LPG8AFuQ/OdArNp78l8s6J/VenUoJnm2C4E30gdMgIgdddP4idOCVBFy1kvs8HzJev3g9ppdbIsVx4MWed6rP8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112237},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","tsup":"^8.0.1","mongoose":"^8.0.3","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"peerDependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_4.1.0_1748625381200_0.5769173873476288","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"@zodyac/zod-mongoose","version":"4.2.0","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@4.2.0","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"18bfe2b487ba2ababc7a7adf662d14d738de2793","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-4.2.0.tgz","fileCount":11,"integrity":"sha512-f1WtA74WCm/1M8x1469C96PtdPw0MwzZofP7CA+HiqIK1ejOw/2AmRKKMQC96GFeHvrb0JDjK6IFADvQGoVNHg==","signatures":[{"sig":"MEQCIBgUU01kdN5jQ01g6Sc7kARX1lSQ470m/IjDM69agCc7AiAINiNKtdHdTQasamuyoY2CRSMYEJ1DIAanItTo9NZfDg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114008},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.4","jest":"^29.7.0","tsup":"^8.0.1","mongoose":"^8.0.3","@swc/core":"^1.7.11","@swc/jest":"^0.2.36","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.3.0","@biomejs/biome":"^1.8.3","make-coverage-badge":"^1.2.0"},"peerDependencies":{"zod":"^3.22.4","mongoose":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_4.2.0_1756631789589_0.41374737645368476","host":"s3://npm-registry-packages-npm-production"}},"4.2.1":{"name":"@zodyac/zod-mongoose","version":"4.2.1","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"author":{"name":"bebrasmell"},"license":"MIT","_id":"@zodyac/zod-mongoose@4.2.1","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"homepage":"https://zodyac.dev/toolbox/zod-mongoose","dist":{"shasum":"af613874b60f3a89c2d427b2a7ec459860c7bcc1","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-4.2.1.tgz","fileCount":11,"integrity":"sha512-Uf2JQg2iZW7wCcLzcGyPK8t+NygFcMLmkctchVDXJabago++0P9Xi5oJCRlbS5KcqCA7plu5o+SOCRKWMqj3pw==","signatures":[{"sig":"MEYCIQDPeCQqW+bLyagUPKBGoh2DTZmzcpu4SSUWWBpvEbic8wIhAIj3YTisdlfKMRCCpxMFsFfAdxSdURVXiMFh2hLhPXrs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122732},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","private":false,"scripts":{"lint":"biome check","test":"jest","build":"tsup","lint:fix":"biome check --write .","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg"},"typings":"./dist/index.d.ts","_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"repository":{"url":"https://github.com/git-zodyac/mongoose","type":"git"},"description":"A library that allows you to generate mongoose schemas from zod objects.","directories":{},"sideEffects":true,"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"zod":"^3.22.4","jest":"30.2.0","tsup":"8.5.1","mongoose":"8.20.2","@swc/core":"1.15.3","@swc/jest":"0.2.39","typescript":"5.9.2","@types/jest":"30.0.0","@types/node":"24.10.1","@biomejs/biome":"2.3.8","make-coverage-badge":"1.2.0"},"peerDependencies":{"zod":"^3.22.4","mongoose":"^8.20.2"},"_npmOperationalInternal":{"tmp":"tmp/zod-mongoose_4.2.1_1765457448188_0.5782687198232295","host":"s3://npm-registry-packages-npm-production"}},"4.2.2":{"name":"@zodyac/zod-mongoose","version":"4.2.2","description":"A library that allows you to generate mongoose schemas from zod objects.","scripts":{"test":"jest","test:run":"node test.js","test:badges":"jest --coverage && make-coverage-badge --report-path ./artifacts/coverage/coverage-summary.json --output-path ./badges/coverage.svg","build":"tsup","lint":"biome check","lint:fix":"biome check --write .","typecheck":"tsc --noEmit"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","typings":"./dist/index.d.ts","private":false,"sideEffects":true,"author":{"name":"bebrasmell"},"license":"MIT","homepage":"https://zodyac.dev/toolbox/zod-mongoose","repository":{"type":"git","url":"https://github.com/git-zodyac/mongoose"},"keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"devDependencies":{"@biomejs/biome":"2.3.8","@swc/core":"1.15.3","@swc/jest":"0.2.39","@types/jest":"30.0.0","@types/node":"24.10.1","jest":"30.2.0","make-coverage-badge":"1.2.0","mongoose":"8.20.2","tsup":"8.5.1","typescript":"5.9.2","zod":"^3.22.4"},"peerDependencies":{"mongoose":"^8.20.2","zod":"^3.22.4"},"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","_id":"@zodyac/zod-mongoose@4.2.2","dist":{"shasum":"ebde99cd56c26e37930c9c7bc960ab072113a922","integrity":"sha512-94bi8kSUSvDulwvxqGqckFTmnmtCGZTHB8F/EU4ILYd31n69rkNuVNnSTrDL4KOpar7AqoGUtTSG45JjK9ELKA==","tarball":"https://registry.npmjs.org/@zodyac/zod-mongoose/-/zod-mongoose-4.2.2.tgz","fileCount":11,"unpackedSize":124742,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICR+KHVGY/11zFBbWU2mZH34cyZVPCKIhGuc4IrpMS47AiBwjzkWZ0TN28u0GVbWklGfbB6TD2DRbnc4KZoXl3iDAA=="}]},"_npmUser":{"name":"bebrasmell","email":"zakofpl@gmail.com"},"directories":{},"maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zod-mongoose_4.2.2_1766938676510_0.03604484486912751"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-11T13:35:31.470Z","modified":"2025-12-28T16:17:56.843Z","1.0.6":"2024-01-11T13:35:31.760Z","1.0.7":"2024-01-23T13:22:55.582Z","1.1.0":"2024-02-23T12:02:56.657Z","1.1.1":"2024-02-23T12:04:26.438Z","1.1.2":"2024-02-23T12:07:57.183Z","1.1.3":"2024-07-01T22:23:26.781Z","2.0.0":"2024-08-21T15:53:01.264Z","1.3.0":"2024-08-30T15:37:32.601Z","2.0.1":"2024-08-30T15:41:12.310Z","2.1.0":"2024-09-07T23:06:04.968Z","2.2.0":"2024-09-15T00:30:49.466Z","2.3.0":"2024-09-15T00:37:23.985Z","2.3.1":"2024-09-15T00:42:15.389Z","2.3.2":"2024-09-20T00:31:57.480Z","2.3.3":"2024-09-21T17:58:20.203Z","3.0.0":"2024-10-19T12:16:34.536Z","3.1.0":"2025-01-06T09:56:00.485Z","3.2.0":"2025-01-12T15:22:51.830Z","4.0.0":"2025-05-23T19:00:29.198Z","4.1.0":"2025-05-30T17:16:21.375Z","4.2.0":"2025-08-31T09:16:29.837Z","4.2.1":"2025-12-11T12:50:48.420Z","4.2.2":"2025-12-28T16:17:56.658Z"},"author":{"name":"bebrasmell"},"license":"MIT","homepage":"https://zodyac.dev/toolbox/zod-mongoose","keywords":["zod","mongoose","schema","validation","typescript","type","types","type-safe","validation","mongodb","mongo","database","db","orm","odm","document"],"repository":{"type":"git","url":"https://github.com/git-zodyac/mongoose"},"description":"A library that allows you to generate mongoose schemas from zod objects.","maintainers":[{"name":"bebrasmell","email":"zakofpl@gmail.com"}],"readme":"# Zod to Mongoose schema converter\n\n![NPM Version](https://img.shields.io/npm/v/%40zodyac%2Fzod-mongoose)\n![NPM Downloads](https://img.shields.io/npm/dw/%40zodyac%2Fzod-mongoose)\n![npm bundle size](https://img.shields.io/bundlephobia/min/%40zodyac%2Fzod-mongoose)\n![Test coverage](./badges/coverage.svg)\n\nThis package provides a function to convert\n[zod](https://www.npmjs.com/package/zod) object to\n[mongoose](https://www.npmjs.com/package/mongoose) schema.\n\n> [!NOTE] This package is in early development stage. Please report any issues\n> you find and please expect API to change in minor versions.\n\n## Installation\n\n```bash\nnpm i @zodyac/zod-mongoose\n\npnpm add @zodyac/zod-mongoose\n\nyarn add @zodyac/zod-mongoose\n\nbun add @zodyac/zod-mongoose\n```\n\n## Breaking changes\n\n> [!WARNING]\n> If you were using `zId`, `zUUID`, `z.objectId()`, `z.mongoUUID()` before,\n> please replace those with `zId()` and `zUUID()`.\n\n- `zId` is now `zId(ref?)`\n- `zUUID` is now `zUUID()`\n\n## Usage\n\nFirst, extend Zod with `extendZod`, then create your zod schema:\n\n```typescript\nimport { z } from \"zod\";\nimport { extendZod } from \"@zodyac/zod-mongoose\";\n\nextendZod(z);\n\nconst zUser = z.object({\n  name: z.string().min(3).max(255),\n  age: z.number().min(18).max(100),\n  active: z.boolean().default(false),\n  access: z.enum([\"admin\", \"user\"]).default(\"user\"),\n  companyId: zId(\"Company\"),\n  wearable: zUUID(),\n  address: z.object({\n    street: z.string(),\n    city: z.string(),\n    state: z.enum([\"CA\", \"NY\", \"TX\"]),\n  }),\n  tags: z.array(z.string()),\n  createdAt: z.date(),\n  updatedAt: z.date(),\n});\n```\n\nThen, convert it to mongoose schema and connect model:\n\n```typescript\nimport { zodSchema } from \"@zodyac/zod-mongoose\";\nimport { model } from \"mongoose\";\n\nconst schema = zodSchema(zDoc);\nconst userModel = model(\"User\", schema);\n```\n\nThat's it! Now you can use your mongoose model as usual:\n\n```typescript\nuserModel.find({ name: \"John\" });\n```\n\n> [Note] `extendZod` should be called once for the whole application.\n\n## Features\n\nFull support list can be found in [SUPPORTED.md](./SUPPORTED.md):\n\n- ✅ Basic types\n- ✅ Nested objects and schemas\n- ✅ Arrays\n- ✅ Enums (strings only)\n- ✅ Default values\n- ✅ Maps\n- ✅ Dates\n- ✅ ObjectId\n- ✅ ObjectId references\n- ✅ ZodAny as SchemaTypes.Mixed\n- ✅ Validation using refinement for String, Number, Date\n- ✅ Unique for String, Number, Date, ObjectId and UUID\n- ✅ Sparse for String, Number, Date, ObjectId and UUID\n\n- ⚠️ Record (Being converted to Map)\n- ⚠️ Unions (Not supported by mongoose, will pick first inner type)\n\n- ❗️ Intersection (not supported by mongoose)\n- ❗️ Set (not supported by mongoose)\n- ❗️ Indexes (not supported by zod)\n\n- ⏳ Regex validation (coming soon)\n- ⏳ instanceOf (coming soon)\n\n## Checking schemas\n\nTo make sure nothing is missing, you can use `Schema.obj`:\n\n```typescript\n// schema is mongoose schema\nconsole.log(schema.obj);\n```\n\n## Raw object\n\nIf you want to get raw object from zod schema to modify it, you can use\n`zodSchemaRaw` function:\n\n```typescript\nimport { extendZod, zodSchemaRaw } from \"@zodyac/zod-mongoose\";\nimport { model, Schema } from \"mongoose\";\n\nextendZod(z);\n\nconst schema = zodSchemaRaw(zDoc);\nschema.age.index = true;\n\nconst model = model(\n  \"User\",\n  new Schema(schema, {\n    timestamps: true,\n  }),\n);\n```\n\n## ObjectID and UUID\n\nYou can use `zId(ref?: string)` and `zUUID(ref?: string)` to describe fields as ObjectID and\nUUID and add reference to another collection:\n\n```typescript\nimport { extendZod } from \"@zodyac/zod-mongoose\";\nimport { z } from \"zod\";\n\nextendZod(z);\n\nconst zUser = z.object({\n  // Just the ID\n  someId: zId(),\n  wearable: zUUID(),\n\n  // With reference\n  companyId: zId(\"Company\"), // equivalent to zId().ref(\"Company\")\n  facilityId: zId().ref(\"Facility\"),\n  device: zUUID(\"Device\"), // equivalent to zUUID().ref(\"Device\")\n  badgeId: zUUID().ref(\"Badge\"),\n\n  // `refPath` support\n  storeId: zId().refPath(\"store\"),\n  store: z.string(),\n  proxyId: zUUID().refPath(\"proxy\"),\n  proxy: z.string(),\n});\n```\n\n## Validation\n\nYou can use zod refinement to validate your mongoose models:\n\n```typescript\nimport { z } from \"zod\";\nimport { extendZod, zodSchema } from \"@zodyac/zod-mongoose\";\n\nextendZod(z);\n\nconst zUser = z.object({\n  phone: z.string().refine(\n    (v) => v.match(/^\\d{3}-\\d{3}-\\d{4}$/),\n    \"Invalid phone number\",\n  ),\n});\n```\n\n## Unique fields\n\nTo make a String, Number or Date unique, call `.unique()`:\n\n```typescript\nimport { z } from \"zod\";\nimport { extendZod, zodSchema } from \"@zodyac/zod-mongoose\";\n\nextendZod(z);\n\nconst zUser = z.object({\n  phone: z.string().unique(),\n});\n\n//\n```\n\n## sparse fields\n\nTo make a String, Number or Date sparse, call `.sparse()`:\n\n```typescript\nimport { z } from \"zod\";\nimport { extendZod, zodSchema } from \"@zodyac/zod-mongoose\";\n\nextendZod(z);\n\nconst zUser = z.object({\n  email: z.string().sparse(),\n  // with unique\n  // email: z.string()..unique().sparse(),\n});\n\n//\n```\n## Warnings\n\n### ZodUnion types\n\nUnion types are not supported by mongoose. If you have a union type in your zod\nschema, it will be converted to it's inner type by default.\n\n```typescript\nconst zUser = z.object({\n  access: z.union([z.string(), z.number()]),\n});\n\n// Will become\n// {\n//   access: {\n//     type: String,\n//   },\n// }\n```\n\n### ZodAny\n\n`ZodAny` is converted to `SchemaTypes.Mixed`. It's not recommended to use it,\nbut it's there if you need it.\n\n### ZodRecord\n\n`ZodRecord` is converted to `Map` type. It's not recommended to use it, but it's\nthere if you need it.\n\n## Contributing\n\nFeel free to open issues and pull requests! Here's a quick guide to get you\nstarted:\n\n- Fork the repository\n- Install linter and formatter for VSCode: Biome\n- Install dependencies: `npm i`\n- Make changes\n- Run tests: `npm test`\n- Run linter: `npm run lint` (fix with `npm run lint:fix`)\n- Commit and push your changes\n- Open a pull request\n\n## License\n\nMIT\n","readmeFilename":"README.md"}