{"_id":"zod-class","_rev":"19-9960302bd63f364d999cc19fe590a511","name":"zod-class","dist-tags":{"latest":"0.0.18"},"versions":{"0.0.0":{"name":"zod-class","version":"0.0.0","_id":"zod-class@0.0.0","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"dist":{"shasum":"622d01821c5fb75f6af5bbf4f9c5b8694d00be50","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.0.tgz","fileCount":13,"integrity":"sha512-Dg5MYPfa4cClDgHCewQnnKpbMVCEom2s+H71JwPXU2Aqm/ki+HpNxFGBh96Wg7LDUvDR8Tx2jikzrcS/jR4Tow==","signatures":[{"sig":"MEUCIQC4RvcoFwivKx9XZNAzxeQYEpjlr/ZuqFbkCnexhD6h9QIgSTuy5sW1AX3dw/Z65UXM/0Y4EFwbiWoYLBeYeR65BbQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2hIUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSyA//Z23eCV2a+mz1aulkEcvo9uBC91YWh7Ckh+6ktC67n2D8T0Rg\r\nc5tVA7moJsiRb/eKljYyETgnYfC6JUMkhmM1d1aeOophQTPSuNjCaGoRKX5E\r\nLTi/38ccb5RDj0phbWSb34Ru+ht77aMcaWyUZMRrZ5DgBZSFgs2EHslxXnLV\r\n9v3Sqt1FgeHUVxFYM3ZR+LjzrJWeIOAvdk1sMZysbfKaYFWaCll2+YZ1p/so\r\nhG7plmdSHvUAVkeJeqoFQOx/pBH+sHc3PT7G/bh3scS/dzFEraWj0jHmvxgG\r\nW8RhyXtxZo0PG/Uosc7yxU2V4HP+PvCwfgQ0VUgNEjnYVysrOBGk81m9/6yr\r\n9gZxmMZze/1kxKLgHljtKt6DhHI9Eb2vjG/rePC2oedOCFVQcQIerkdqOUHx\r\nnn09IM9IIv+M/oX8oQrPb3prqkCbUaEhXGg5gsGXqD1vfRRXmOD6cWVH03Er\r\nJ+TJ0KGXfyWLoXSy+bGQX9MLR7lViOj4GQCthyHpVUWUPunUA/76ViIaiv28\r\nwxdNMiFB23+6tv56bwfi4td4/EzpJCuevAyzVoOHy5G8WVlH9ZNgVqP2XKOS\r\nxIp3larjDHbxiEyJ8vHrPxaO/Qlj0g6vhYVNuLOBKVV3BZ8SxZ0skBKfin8R\r\nG3+yIv763NaycQg3O9pfMsYnxViVJFNiKdQ=\r\n=fzFr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"27790de1c2542e7abf3fd0e8070d7a5837c22782","scripts":{"build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"_npmVersion":"9.2.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.0_1675235860218_0.9666313110131222","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"zod-class","version":"0.0.1","_id":"zod-class@0.0.1","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"dist":{"shasum":"09da0f1f612ab64a408dd1a23ef2e1bb08c7893d","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.1.tgz","fileCount":13,"integrity":"sha512-6UZ8kXFsRrlydGvnMK9ufm4v0cFOfQDlnWqRnLk/UHDLTDLXSgq2blr7wxK0/xwRhrWZsl8cX0HJfwzE2cp5hA==","signatures":[{"sig":"MEUCIQDfmZ/c0XcXYDfcao88qycTHfxYY7AxRDhfvLLJheDV/wIgUDbXzLzJNHZRsafaMeXvPLWzmHRE4IEP7jF6UZ/+1jo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2hTRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9jg//ZhHkJED41IJkwcAfdyobcctm9/D+vHDwfyyMlLzpHVU0/P0i\r\nt6Cb4Zcwys33rPROjHyrrfq2tUxVkk+jypuZviDiXOD55o2yYaRaPzVWDg7I\r\neM3G2eZoazvibJQw3mKnp4yp5nl23Js25VCoEJa9gh9wZha4JrZ8r5fR4WDb\r\nqxbwfRf7SicZ5IiNNFKT67L08cIUpEE9xHpEfUVloXDGdiGn9d/D9pevsUzz\r\niGFbMNVRcoXfHY39BiFipP6a8fkqP8VpSSAurpFpyntKwPSIaDGvB9V5OqDF\r\n5qNB3puKy28AsAHtYldj4YXxGm17ryeYRcpGDAWcmnrXK0FhWgnLzLrLRuWB\r\nUAL/AGHF3B+E2mZmSByyxMM1nEZz3d/O4YEe7DhqmxGadZZa5N6Ted0qk0tU\r\nQXoYH7M6W4D/lDklx4NDRNkWBw8u0QmlF6hkVdIJs7tA80WkEvgp+uZmi/C1\r\n55udiXXd+ZwY+mUuPkNdHz5ET+FWtVG/suigWZ4/VUmCvQ7+Ws4Q37OS+Ygn\r\nkNSR275yeVzngQ/xeSphWuScMKrUbGlb3t6IK54PaPVxFmUEdPuSLrh3q/Tn\r\n8N9qSne0BKZqh41ZXoL3m6UWvHLhlm0vkpPOZ3eBMhwiVTBXZsLhYhAY4tUu\r\nj4dqMGwvghw68lYuQ2+2JdtMaIrRl773p+U=\r\n=kM0z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"27790de1c2542e7abf3fd0e8070d7a5837c22782","scripts":{"build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"_npmVersion":"9.2.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.1_1675236561116_0.22687628818789873","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"zod-class","version":"0.0.2","_id":"zod-class@0.0.2","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"dist":{"shasum":"cfa121d62f41f631394c38490c65a2d51e823251","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.2.tgz","fileCount":13,"integrity":"sha512-7NPsfcep2EWvoq4N39xIxImGhACUE93SWM9z8KcoQFyEdvjGhCJkBg7mFEHtJwFZ+kmjjwCZQclx5jw3uFtNpQ==","signatures":[{"sig":"MEUCIARHIaMrEcljBlGtU7Thzq23GUTHqPG+CkpdTJWeNwdVAiEAsL+wdBhaayPr4n/q2RjbujSr2xPf0y3OhTD0ygqMn3g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2hfrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoP8w//f5iW0SwU6URu45VtHz7Y9PuEiLb22EDSxTll/f4SBuJiUdva\r\nKnU2estE4H5W6v8nZo25ynzxYs804I4PBJ6aSxJNiOUEAqGcDmsC/7IQDdxM\r\nUkIqf62xHTKRrMuYLrJJdNorzgY5e4T4NIVfUs3I9/+u3IOQn4LO6AYCfPWJ\r\nKhVlyhVz8YkP6LUwjZwvNFQM3boJsqk/8xRry3QNE5Do0y8ZGjEAsWdC3wj0\r\naCTVN6d4ytiwmbQvT8F7M4de8WLR4JsoIL0djT2XrbwbQIWs7wZYXamgTqZ4\r\nd5B+E+7ccNeyQ82I5srsKXJGvwVPYwCCkQ7rUG4wO3oGYr8tffdS/LMXh61q\r\nurkfSqta4d9f3R0FAJOQvqleUootizzUgeRYTX/3Q1tt34Wfvb+e+1BOIQMk\r\nqkMxutRCeKbJrVAtptrAJf6xNIQiY8udOKAIjjTjm/v4SWgpfdIezGBgzRzu\r\nwHrDCD4Fu9ohbPspz6NO/56aP+zArPqt8F1AL1MO1mH+CqDROIhZZmVnDZzS\r\nOyDsX4z+/MN0A70P8B3ELwSPxis6XeXUEfOyBTSETc94B0Pl1nyrZcBun8KV\r\n7S4a/r9CiFce/XTe7NifCl/KRgmE0Ts836gtxTHdaqlLF36NuF85qvsKfqd+\r\nY5lZ7P1HFKlHWOMzcxD7otx1TGXhw1eRk/A=\r\n=mf7B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"b7cf1d4de3fbdd4c68754c184cbbdd6bdcc52865","scripts":{"build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"_npmVersion":"9.2.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.2_1675237355626_0.4138365984323631","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"zod-class","version":"0.0.3","_id":"zod-class@0.0.3","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"dist":{"shasum":"29498e658399738dae964aa75813bd9fee661b5b","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.3.tgz","fileCount":13,"integrity":"sha512-v4uNCHEzRe7O8o5UQRhS3f+7cMbD18Uw3jvASUJQwlWg0tx0Rcn/L8lUChLifC04ALAFz3XW8mTM9v2ed5lnmw==","signatures":[{"sig":"MEYCIQD8XOlcuBEBFPRAU/MSwEMZaqEI2hNoV72ZO5X2+ykkFgIhAMoInCjbb9CmkdVAh5URwj55u10HcLP/ssXrGZPd7aCQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70580},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"9c71950b0e342fb70026bf447be25f745019dbef","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^3.0.3","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.3_1694623273631_0.9741900326057671","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"zod-class","version":"0.0.4","_id":"zod-class@0.0.4","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"dist":{"shasum":"07e8191e9f9442a86bd5b45b90f1b70b22c2a0e0","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.4.tgz","fileCount":13,"integrity":"sha512-4sDnX7ygoed2GoM+eMXYPmcwW1iIyK8bBzAzGj/ihVT4y5go5Bk78d86usbGtOkIRJq5pQueYonHhgpEqGwACg==","signatures":[{"sig":"MEQCIDi+QrgjJPVEMl5GG3EwDm4NcUhSncOoNmTLN7GnRq5QAiALeXnR0EunJVy5Pg2mSNwF1zxLsJv7rdFxq62yOoHM6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72084},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"c1cd2b2f38d4d0da834589e5f425442189fa871c","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.4_1694639653185_0.69998792093852","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"zod-class","version":"0.0.5","_id":"zod-class@0.0.5","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"0a4bb9221951b6c9507967739c97b9fd4f8ebbdd","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.5.tgz","fileCount":13,"integrity":"sha512-W9lnzgoZcz7pj0BVWbIcpgKdCVkx+pmliKZwCRD5VtJ7U1oDSd9tYBgAQegt2ALfoQbM6vlR9s6ucCYXcmO8mw==","signatures":[{"sig":"MEQCIGa0Me0wQFmUECbDv2q7oYD2bvN7Cy2iy7713xrYklySAiAqsBgb6Tz6giqgocwMBzgZQJijEXSw+eoJHyroh4mADg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75385},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"cd63a9b1d1101c2a51e8db61f82d941d5271d19d","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.5_1697124917059_0.9323090774182239","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"zod-class","version":"0.0.6","_id":"zod-class@0.0.6","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"16abdbb6ffffa8894751d7b5969e5cd64f5eef89","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.6.tgz","fileCount":13,"integrity":"sha512-+t2MaoZsaVz41O5v8/w+F5+1JA9CNCWI3R6m9eWJQbBfwMV+H7N8vmonva+vLjRo4YFpGZylDxXDcbrSeCOf9Q==","signatures":[{"sig":"MEYCIQDsCMQYn2IJpX5B5mzjYTZ0oKOFRy2ohHJa8WX9m+LaQgIhAJp7NkcAAbHdn9pYRWSjBnUMUTdGsgDnwlE+l+3qW1jx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73330},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"e3b731e1012af26377a21c1e1c0e76e91eef3d7a","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.6_1697125919900_0.2053511220466433","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"zod-class","version":"0.0.7","_id":"zod-class@0.0.7","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"9c3a7a3feefeab8b804f8c0622022c1c010c7053","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.7.tgz","fileCount":13,"integrity":"sha512-N60ONSbWQzGiP39bh00Y5MJm+UGJvXZOEwP3RnTj6aE9ErrCmcDHl6oAK2EiRdbmFfGFYLHgFXlLuqCXDxo8+Q==","signatures":[{"sig":"MEUCIGoCtwBIdTwuzSndvEuJ33HuD8Zdp8BWvqlCMYisWI9dAiEAyRKQKxOn7DpExyuseD4q4qe+KWNggPlZ2rs3WrdHFXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73330},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"e3b731e1012af26377a21c1e1c0e76e91eef3d7a","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.7_1697483878761_0.13562124428297717","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"zod-class","version":"0.0.8","_id":"zod-class@0.0.8","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"5846d7db0648e5f972248f8a020eca403cd67d8c","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.8.tgz","fileCount":13,"integrity":"sha512-edlHdi9lLhReP1oJuMqIvKdTn0xUAnHINRYt3L7z8nxZbbxymEd11eXq5yD7Lgh6uoY0k43XozGedb5IQuB5IA==","signatures":[{"sig":"MEUCIQDqCSDqeMHPk7Gs0jn/DpB0zdwF5a77N09oztCrHw3JEgIgGjbdB8jSH9HtqdtSLaTFRPs0k57A2q32flAq5F5j2Fg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73785},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"e3b731e1012af26377a21c1e1c0e76e91eef3d7a","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.8_1697484377583_0.8388848084688647","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"zod-class","version":"0.0.9","_id":"zod-class@0.0.9","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"e045f4425c447662cfbab3439803290a904bff91","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.9.tgz","fileCount":13,"integrity":"sha512-AychjjewcfbUGyDpfczSozpQpjQNGn7SDg2pmrJE/g0f+atP5fb6VhJNjD636cXGpxHo9ep//dbj/bOkhJc/Bg==","signatures":[{"sig":"MEQCIBk3ZgRI2DzNlG6IKF2FZm4srG9qeCD/59VcvTamcKdyAiBFAItNPOiO2EMgvfVIDBzDzPUSXRXvM/sGxeYTqsH1qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73805},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"e3b731e1012af26377a21c1e1c0e76e91eef3d7a","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.9_1697484485304_0.4379003563554382","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"zod-class","version":"0.0.10","_id":"zod-class@0.0.10","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"d72eb252c60e325e94c436bb5e5ea22ad3de9db6","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.10.tgz","fileCount":13,"integrity":"sha512-tFHZ9c5/sfoneNxHwmMFvJbR4MVoKLUbgHeh+/1sC125EJi292/sFNBbh5rK/KYPrTyf9S7Omadlewvluj72EQ==","signatures":[{"sig":"MEQCIAbfIGtxsX7R/OunGVIdQiaYbLheRnAFRn44uasjW3ajAiBb6TF1WiYlpdZSUNL32+lS8tIBSD34wSNcuwnWJ3Z3Og==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79016},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"ad1220a185c114ec1b59ff3da3afee5d6dcd1fc9","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.10_1697849334291_0.4504924337766436","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"zod-class","version":"0.0.11","_id":"zod-class@0.0.11","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"053039ca368c9d80547b8a3f37799a1e1dc7650c","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.11.tgz","fileCount":21,"integrity":"sha512-7VpSr4mtNN7dep6MfvvWRM1+V/2PQs2eRZ02cuX4vE4QPVY8XvZkUxPHqfVrR3c1Nacten+EQ6j4UZyu6YBWuQ==","signatures":[{"sig":"MEUCIHvbL8Dm3DWpuk0fLhyZeQcOWSCR7wYrWmPimL3Xh+kwAiEAu2UP8EnBBoIqrEgiPLivwd31372aSVhAGlE7lMPXP5s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":132104},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"b6137fe69b6ac1270157d54912c761ed08872043","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"8.19.3","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"18.13.0","dependencies":{"type-fest":"^4.6.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.11_1698462510744_0.5126700860870554","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"zod-class","version":"0.0.12","_id":"zod-class@0.0.12","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"5ff5361a2308fea034a0a2cbf0615ab8592c4315","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.12.tgz","fileCount":21,"integrity":"sha512-o39yrrycX9i9SVUiHY18avIAwLXaUiAMtxVBwzo4Zb1XhGgxwPKGQxB44/BSBw+CjwlWXJL6kCF4AhfW5kdmKw==","signatures":[{"sig":"MEYCIQC4H0KJGDxFq7RY++bTI7ilK+8QBi2pBeIgeFJN6zdiIQIhAIwhKXxM65dbNCP3ZpIrc48ZlA/J1hUlVcm19S24H+bU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":152802},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"a2b8d45697985103b83e3a801ea9d85983293bf9","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.1.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.9.0","dependencies":{"type-fest":"^4.6.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.2.2","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.12_1702549509305_0.3067972729452255","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"zod-class","version":"0.0.13","_id":"zod-class@0.0.13","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"8ba67d99c8a7e0245c58f5da109f3cf5beea8023","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.13.tgz","fileCount":21,"integrity":"sha512-zHEQGBMQq62LNipf8zMYTgmsOZv6SFhI9+c1Ssq8u9lw43ooY/2JGTBR7ipoSDtrItqp+80QNob36ubcPmJ2vQ==","signatures":[{"sig":"MEYCIQDqdGQSstpJrns7Kogr0wzEus0kuXIl0ZHJcRK7oF/y+AIhAP4kTDnmqLXeAf/bVio5UmMSy4wbKxzXzHt205AgdMbh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":161596},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"5bea2da0a9ecc11ec7c1d8e7926ff18ae0c8f89e","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.4.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.11.0","dependencies":{"type-fest":"^4.14.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.0.36","zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.4.3","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.13_1711834938191_0.9460081210553555","host":"s3://npm-registry-packages"}},"0.0.14":{"name":"zod-class","version":"0.0.14","_id":"zod-class@0.0.14","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"8b5d9959f4984f5824e0239a51be29106a34ab00","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.14.tgz","fileCount":21,"integrity":"sha512-wox+5XQe/PdxCAsUPwdrnjS6T1GfwZuhE3oesk5el/y9FUvQ/y+AK8xZTmDOWxFtMUMjlMXLPfowfboQRGyGbQ==","signatures":[{"sig":"MEUCIDh8h7YfvS7TrnMbrVG/r5IkhUnFRdlyK2VezAFNTdmiAiEAwafq2NAq2wLT+6ceFilwbfChmOyAzlpX1kwaHFtlqJk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":177652},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"6a545423b72eacfdbc287dc54c24a605cc32df86","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.4.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.11.0","dependencies":{"type-fest":"^4.14.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.0.36","zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.4.3","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.14_1723688622796_0.7839385986477057","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"zod-class","version":"0.0.15","_id":"zod-class@0.0.15","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"a694858bf47146fb792bb2e41762756ccd6264a3","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.15.tgz","fileCount":21,"integrity":"sha512-CD5B4e9unKPj1hiy7JOSwRV01WqbEBkFOlhws0C9s9wB0FSpECOnlKXOAkjo9tKYX2enQsXWyyOIBNPPNUHWRA==","signatures":[{"sig":"MEUCIGx+aeBM7ntV/NoTvq9oFqWcFykkuPaBiiM3T3fxY/h8AiEAujF/H/QCMEBAiz1hPYW0jv5Dyfb/lequ9KMMQ4pH+O8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158625},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"db34da7d194f59a0b3e3d461e798da79579731b7","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.4.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.11.0","dependencies":{"type-fest":"^4.14.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.0.36","zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.4.3","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.15_1724656019364_0.7125471326896673","host":"s3://npm-registry-packages"}},"0.0.16":{"name":"zod-class","version":"0.0.16","_id":"zod-class@0.0.16","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"eefc7d1ad0c56648792bc77976e1796bb375c9eb","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.16.tgz","fileCount":21,"integrity":"sha512-3A1l81VEUOxvSTGoNPsU4fTUY9CKin/HSySnXT3bIc+TJTDGCPbzSPE8W1VvwXqyzHEIWK608eFZja2uew9Ivw==","signatures":[{"sig":"MEQCIFTlPGKsfXFjI4VBp6IiO4xDYmiAqkXMHk2AOnQZEydxAiBh+k4JX9mazTr4nt6HDmG8ZU1sw5RTghAZic3DSFTMVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":165089},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"f8d474e30deb0f2e2be8d9b6a4c18300a6262780","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.4.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.11.0","dependencies":{"type-fest":"^4.14.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.0.36","zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.4.3","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.16_1735330764947_0.8775513856944841","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"zod-class","version":"0.0.17","_id":"zod-class@0.0.17","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"homepage":"https://github.com/sam-goodwin/zod-class#readme","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"dist":{"shasum":"6f62d12241dab204b2114b8e4645be71a292184b","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.17.tgz","fileCount":22,"integrity":"sha512-eSDpnQgcbVfj1f8qGF0a7TLuAhWRq+JaZQGf3vc+p2NiFm0lJqYYz8qJxmC+/04JKDMhn/2sYBK1f9Js6RSShw==","signatures":[{"sig":"MEYCIQCtIRlXqD8pfYfXtZ922NbUf2n/vcYwCQhJFz//+qUQ3QIhAOQlSexr3kJYOwt7cqieA9hKAH29wL7AK3ukDNTiIJmy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166181},"main":"./lib/cjs/index.js","types":"./lib/cjs/index.d.ts","module":"./lib/esm/index.js","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"gitHead":"8c50cf5ac0a38a6e2db1e4343bf7c0be98a7b1e1","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","build":"tsc -b","watch":"tsc -b -w"},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"_npmVersion":"10.4.0","description":"Create classes from Zod Object schemas all in one line","directories":{},"_nodeVersion":"20.11.0","dependencies":{"type-fest":"^4.14.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.0.36","zod":"3.20.2","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.1","prettier":"^2.8.8","typescript":"^5.4.3","@types/jest":"^29.5.4","@types/node":"^16","@tsconfig/node16":"^1.0.3"},"peerDependencies":{"zod":"^3"},"_npmOperationalInternal":{"tmp":"tmp/zod-class_0.0.17_1741164203150_0.32219273885370137","host":"s3://npm-registry-packages-npm-production"}},"0.0.18":{"name":"zod-class","description":"Create classes from Zod Object schemas all in one line","version":"0.0.18","license":"MIT","repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"exports":{".":{"import":"./lib/esm/index.js","require":"./lib/cjs/index.js"}},"main":"./lib/cjs/index.js","module":"./lib/esm/index.js","scripts":{"build":"tsc -b","test":"NODE_OPTIONS=--experimental-vm-modules jest && cd ./test/pkg && pnpm i && pnpm build","watch":"tsc -b -w"},"dependencies":{"type-fest":"^4.14.0"},"peerDependencies":{"zod":"^3"},"devDependencies":{"@tsconfig/node16":"^1.0.3","@types/jest":"^29.5.4","@types/node":"^16","bun":"^1.0.36","jest":"^29.7.0","prettier":"^2.8.8","ts-jest":"^29.1.1","ts-node":"^10.9.1","typescript":"^5.4.3","zod":"3.20.2"},"_id":"zod-class@0.0.18","gitHead":"8c50cf5ac0a38a6e2db1e4343bf7c0be98a7b1e1","types":"./lib/cjs/index.d.ts","bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"homepage":"https://github.com/sam-goodwin/zod-class#readme","_nodeVersion":"20.11.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-wWWa6u56ualID4zf0DGgDhdDjYI7lP3XphIFBam+sgodMZOrad8lxAFchqBGq1uuGPAel/hIjHITLc5D+TowXg==","shasum":"00b9e07ca15d2896eab9b81e2889ddea70919bcc","tarball":"https://registry.npmjs.org/zod-class/-/zod-class-0.0.18.tgz","fileCount":22,"unpackedSize":166201,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFrI02SDOnWV80Q3rVN3fdOWlk8CNflL3wf26hiR/FM/AiAalGNo5USfA7rYaI7KK4vmX7T5X+hi9c3pQudw4tS/pg=="}]},"_npmUser":{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"},"directories":{},"maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zod-class_0.0.18_1741164410343_0.566868338951386"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-01T07:17:40.217Z","modified":"2025-03-05T08:46:50.719Z","0.0.0":"2023-02-01T07:17:40.383Z","0.0.1":"2023-02-01T07:29:21.275Z","0.0.2":"2023-02-01T07:42:35.840Z","0.0.3":"2023-09-13T16:41:13.819Z","0.0.4":"2023-09-13T21:14:13.419Z","0.0.5":"2023-10-12T15:35:17.240Z","0.0.6":"2023-10-12T15:52:00.110Z","0.0.7":"2023-10-16T19:17:59.042Z","0.0.8":"2023-10-16T19:26:17.851Z","0.0.9":"2023-10-16T19:28:05.661Z","0.0.10":"2023-10-21T00:48:54.495Z","0.0.11":"2023-10-28T03:08:30.976Z","0.0.12":"2023-12-14T10:25:09.545Z","0.0.13":"2024-03-30T21:42:18.370Z","0.0.14":"2024-08-15T02:23:42.967Z","0.0.15":"2024-08-26T07:06:59.509Z","0.0.16":"2024-12-27T20:19:25.118Z","0.0.17":"2025-03-05T08:43:23.356Z","0.0.18":"2025-03-05T08:46:50.562Z"},"bugs":{"url":"https://github.com/sam-goodwin/zod-class/issues"},"homepage":"https://github.com/sam-goodwin/zod-class#readme","repository":{"url":"git+https://github.com/sam-goodwin/zod-class.git"},"description":"Create classes from Zod Object schemas all in one line","maintainers":[{"name":"sam-goodwin","email":"sam.goodwin1989@gmail.com"}],"readme":"# zod-class\n\nThis is a small utility library to accompany [Zod](https://github.com/colinhacks/zod) that enables Types and Schemas to be defined in one line by creating a Class.\n\n## Installation\n\n```\nnpm install zod-class\n```\n\n## Usage\n\n1. Define a new class\n\n```ts\nimport z from \"zod\";\nimport { Z } from \"zod-class\";\n\n// define a class using a zod schema\nexport class Hello extends Z.class({\n name: z.string(),\n}) {\n get getMessage() {\n return `hello ${name}`\n }\n}\n\nconst hello = new Hello({\n hello: \"sam\",\n});\n```\n\n2. Parse a value to an instance of a ZodClass\n```ts\nconst hello = Hello.parse(someVal)\n\n// use method on the instance \nconst message = hello.getMessage();\n```\n\n3. Extend a class\n\n```ts\nexport class World extends Hello.extend({\n world: z.string()\n}) {}\n\nconst world = new World({\n hello: \"world\",\n world: \"hello\"\n});\n```\n\n4. Access A ZodClass's property to re-use in other schemas\n\n```ts\nimport { z } from \"zod\";\nimport { Z } from \"zod-class\";\n\nexport class Product extends Z.class({\n id: z.string().brand<\"ProductId\">,\n price: z.number().min(1)\n}) {}\n\nexport class Order extends Z.class({\n id: z.string().brand<\"OrderId\">,\n productId: Product.shape.id // 👈 Re-using the branded type `id` from `Product` class \n}) {}\n\n\nProduct.Id // 👈 Properties are also available in friendly pascal case directly on the class constructor\n```\n\n## Why?\n\nIt can be annoying to always have redundant declarations for types and schemas:\n\n1. the `z.object` declaration\n2. the derived type using `z.infer`\n\n```ts\ninterface HelloSchema extends z.infer {}\nconst HelloSchema = z.object({\n key: z.string(),\n});\n```\n\n`zod-class` enables this to be achieved in a single line.\n\nIt also provides a class that can be instantiated and methods added to.\n\n```ts\nexport class Person extends Z.class({\n firstName: z.string(),\n lastName: z.string(),\n}) {\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n```\n\n\n\n## Workarounds\n\nCreating a class that adequately sub-types a Zod Schema is difficult because of how Zod is implemented. `zod-class` covers the most common use-cases but there are holes.\n\nIf you encounter a problem with type errors, you can always workaround it with the `schema()` method.\n\nFor example, if you have a function that expects a `ZodType`:\n```ts\nfunction createDTO(schema: ZodType): DTO;\n```\n\nAnd a class, `User`, constructed with `Z.class`:\n```ts\nclass User extends Z.class({\n username: z.string()\n}) {}\n\n```\n\nYou should be able to just pass `User` in\n```ts\nconst UserDTO = createDTO(User);\n```\n\nIn some cases, this can error. To workaround, call `User.schema()` instead:\n```ts\nconst UserDTO = createDTO(User.schema());\n```\n\nSee relevant issue: [#17](https://github.com/sam-goodwin/zod-class/issues/17)\n\n2. `nullish` will not create a schema that returns an instance of the ZodClass\n\nZodClass does not provide a type-safe implementation of `schema.nullish()`.\n\n```ts\nUser.nullish().parse(value) \n```\n\nThis will not return an instance of `User`:\n```ts\n{ username: string } | null | undefined\n```\n\nWorkaround with `User.schema()`\n```ts\nUser.schema().nullish().parse(value) // User | null | undefined\n```","readmeFilename":"README.md","license":"MIT"}