{"_id":"@oriun/next-api","_rev":"29-87b6f5b6ac8e48a1ecc7cdca4a53007a","name":"@oriun/next-api","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"@oriun/next-api","version":"0.1.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json"},"peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"_id":"@oriun/next-api@0.1.0","_nodeVersion":"20.0.0","_npmVersion":"8.12.1","dist":{"integrity":"sha512-qo7kUwGzOdFcRSRkudEASx1OXMlxDeiTaupFtPbHc6k8JEl08B3XH1IpsmFQICtsrXaTqn/6f7pAVnIAceXNmg==","shasum":"3e3e775a5ee6fd3876d81c5ab0423dbcdd4c28c7","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.0.tgz","fileCount":5,"unpackedSize":66535,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2cyzI/D/FIk9RXxSTPkFkD9gus4Xnu584U5Lj85MmPAIgQPoJIVUGCc2XO88cGEjpoY3+1FXZApetj6es+9k2O74="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.0_1683374455311_0.4078300751713395"},"_hasShrinkwrap":false},"0.1.1":{"name":"@oriun/next-api","version":"0.1.1","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.1","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-MJJsATBZTooNAstgb27L6F9f2AP4zkLw70dAqXR2XVyzsj4t1pQEFtXWVTw0qLy67OeEVuJi8AEX2xvxULS27A==","shasum":"8abc93dc3cce52f0b0744b91c4f5da2d9a666fba","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.1.tgz","fileCount":7,"unpackedSize":67259,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwSkIrLcrf6Ze3wb4xQVN39W+SDkoe9IIFqBf2r4v7BAiAC//b/NLkx6J5l1RUWOJz7Zm/NUDd2/fGNk21Otojl7w=="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.1_1683374684612_0.17278862129985706"},"_hasShrinkwrap":false},"0.1.2":{"name":"@oriun/next-api","version":"0.1.2","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.2","_integrity":"sha512-ON9xxcqOcbXlgALbyasMMPXkigApTBcXZk69ITxDWJpKtqtf/lv+Qo9CLv272p9lfDeCQzeaEZMPG+6gaV6Ojg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/8564b5ff4122023e7ccb45e065a2cfdd/oriun-next-api-0.1.2.tgz","_from":"file:oriun-next-api-0.1.2.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-ON9xxcqOcbXlgALbyasMMPXkigApTBcXZk69ITxDWJpKtqtf/lv+Qo9CLv272p9lfDeCQzeaEZMPG+6gaV6Ojg==","shasum":"a14c58b9f0aea3f06bf89af4492419f6604e1df5","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.2.tgz","fileCount":7,"unpackedSize":68248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkfM0hZaSlDVNE49sZ5RBCBKBxQTuua5nmBqRsyglS7AiBuvCeIv2fhuPXmaK1uSZ5+CVbL8TrfzSdsWiZ7gaP90w=="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.2_1683389244057_0.8820836132544707"},"_hasShrinkwrap":false},"0.1.3":{"name":"@oriun/next-api","version":"0.1.3","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.3","_integrity":"sha512-GUOs9oLgDMqnwNnI0MvAZiZZ2ykdVokvYMjVM3x49CrwVlvo/yyaYx7zhtMv1/B4Um6UEMSvMa0x95AH9b8chQ==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/369dbc9f9ac7e684021a9933ee190562/oriun-next-api-0.1.3.tgz","_from":"file:oriun-next-api-0.1.3.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-GUOs9oLgDMqnwNnI0MvAZiZZ2ykdVokvYMjVM3x49CrwVlvo/yyaYx7zhtMv1/B4Um6UEMSvMa0x95AH9b8chQ==","shasum":"c6cf983c127a96fe049f0ca0c68f91133e198a8a","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.3.tgz","fileCount":7,"unpackedSize":68248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAcNhEz0m+RZ57n9PagNMp+E31g3EPumtafNfShk8FeAIhAOgzIjsxDhJNVvOTbMqbZ1apJ53Y7WwSexnZMXCQLb7F"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.3_1683390154484_0.8405326437393414"},"_hasShrinkwrap":false},"0.1.4":{"name":"@oriun/next-api","version":"0.1.4","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.4","_integrity":"sha512-Rj4gwwrwaloZQwG2aRYOb2o6IbdbHM+4uAgDUtLRuV6WNjz/W/OoXCi6UgTSEA6jQsdWXln6J7+PuJIyMj0JrQ==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/04074e07cd3359b32e955657e037fee8/oriun-next-api-0.1.4.tgz","_from":"file:oriun-next-api-0.1.4.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Rj4gwwrwaloZQwG2aRYOb2o6IbdbHM+4uAgDUtLRuV6WNjz/W/OoXCi6UgTSEA6jQsdWXln6J7+PuJIyMj0JrQ==","shasum":"ce4ca299104da4cf4539e7dd8343e9d4ecdda6d6","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.4.tgz","fileCount":7,"unpackedSize":68490,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6qDHlW23wrFm+t/iihD5qkscQLPR1LgAliAzXQa3zZQIgERhM+6vJZthZjM5jrN3mrqWWDnnf4IAGDfziXK6Bf2g="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.4_1683390594950_0.526429818974335"},"_hasShrinkwrap":false},"0.1.5":{"name":"@oriun/next-api","version":"0.1.5","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.5","_integrity":"sha512-621Jmv5c7/NCCuWBVHQxUn41TIjPpe9HxmNpxhvdlyMgOODRKAtOlqm4q9u2VZiwlVms7WiOHEsQpiMBJRFnww==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/32388c8414f67cecd9b9632469bbad5c/oriun-next-api-0.1.5.tgz","_from":"file:oriun-next-api-0.1.5.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-621Jmv5c7/NCCuWBVHQxUn41TIjPpe9HxmNpxhvdlyMgOODRKAtOlqm4q9u2VZiwlVms7WiOHEsQpiMBJRFnww==","shasum":"5620efae751ff3ef0920a2b64501e8ddcb863809","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.5.tgz","fileCount":7,"unpackedSize":68248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE1t9h3Ug0m1JSK3mcRBVQ9OvEBi0moY9xcPUmHOP6zQIgHt79dOInKiuQ/sRFYHF6+uwz1IiHYKR4S+yb0Jn/okU="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.5_1683394042202_0.7205123321299469"},"_hasShrinkwrap":false},"0.1.6":{"name":"@oriun/next-api","version":"0.1.6","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.6","_integrity":"sha512-F5YN7PzOJgXMIKV8Y07I/0R3NJOaBCoLjng4B3moEn8OCBI7oFsqcTnwNkDZEZYX+n6hGT19Ef7AaBrsM6f+LA==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/a9afbfc45ded4aa1458d81b2de5c9614/oriun-next-api-0.1.6.tgz","_from":"file:oriun-next-api-0.1.6.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-F5YN7PzOJgXMIKV8Y07I/0R3NJOaBCoLjng4B3moEn8OCBI7oFsqcTnwNkDZEZYX+n6hGT19Ef7AaBrsM6f+LA==","shasum":"894ea75d4c269f5f1d9e7d88c89075a564f898aa","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.6.tgz","fileCount":7,"unpackedSize":67258,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdTfxR4IPXM/GmHBkVL+xMqx56av48o1eWqGTdheYr3gIhAO2Nw2xtgjKChfuYD203P0AWU1K4FLW0klZZgDxmRcRe"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.6_1683394779614_0.04337875865164631"},"_hasShrinkwrap":false},"0.1.7":{"name":"@oriun/next-api","version":"0.1.7","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.7","_integrity":"sha512-7NIQlp4PGm6lU9BIk4ERY5WmNILJOrYOjPuoOCcENTjzRN0OgYMA8o20XFdxCmySvFb2rojGa0uhwhlXMQJyjw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/3c5dd14e905f50778d367f12a883a59d/oriun-next-api-0.1.7.tgz","_from":"file:oriun-next-api-0.1.7.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-7NIQlp4PGm6lU9BIk4ERY5WmNILJOrYOjPuoOCcENTjzRN0OgYMA8o20XFdxCmySvFb2rojGa0uhwhlXMQJyjw==","shasum":"5e59430dddd764e007809e61fed4c8e9a0af2fe5","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.7.tgz","fileCount":7,"unpackedSize":62927,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1foVMvGFHLveCCAC0FFhRAI8tXAmsYFD4t4VqVGS2bgIgEqnU60JxC1jOm9mINzAaJAtN7iJXxsouqSpMyHNtxAU="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.7_1683395069183_0.4389801912608531"},"_hasShrinkwrap":false},"0.1.8":{"name":"@oriun/next-api","version":"0.1.8","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.8","_integrity":"sha512-X30OafSGnr4a2RKb7rFMHmqGPjZmptyF8bxzMjo+6qd3DFXBlJSZoF55Z3V7xutxd+5Y2x5H1LgtedB0MvOHKg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/7ec440c13e85b3e3d867fd54cbc54e11/oriun-next-api-0.1.8.tgz","_from":"file:oriun-next-api-0.1.8.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-X30OafSGnr4a2RKb7rFMHmqGPjZmptyF8bxzMjo+6qd3DFXBlJSZoF55Z3V7xutxd+5Y2x5H1LgtedB0MvOHKg==","shasum":"b5d545b3ce6940233b8535627d66ec69597288bb","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.8.tgz","fileCount":7,"unpackedSize":62928,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSeSIV1iGarIgErTWlCmHrd7LDW1MLCNLZ8ZSWKb7/PgIgEbWqKGKw3mzGbK33pax6lPnFjqnVObXPfkKxBCtx0o8="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.8_1683395366743_0.9906920893036892"},"_hasShrinkwrap":false},"0.1.9":{"name":"@oriun/next-api","version":"0.1.9","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.1.9","_integrity":"sha512-iaFjwfFkxcVw6qIOxglOHpT/6QiFSHn69PpZU/GPUia+lIT7SHZcp4X3Tgq71HQCS9yYcO5Bbj5qrrTR9eKgWA==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/c1debdf5b8751344af30acc063c2054b/oriun-next-api-0.1.9.tgz","_from":"file:oriun-next-api-0.1.9.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-iaFjwfFkxcVw6qIOxglOHpT/6QiFSHn69PpZU/GPUia+lIT7SHZcp4X3Tgq71HQCS9yYcO5Bbj5qrrTR9eKgWA==","shasum":"ba8ea7f93f7f83aadacc74f72276387de523237d","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.1.9.tgz","fileCount":11,"unpackedSize":63513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdaf2NAIev/sEgCoRvmF5g+twjhyCqT+mxay54EJ7yNQIhAJc7EgSu6l8S8iQQ8O0E+1DwdMQLw5zybFpRtxci25/2"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.1.9_1683398120314_0.8924420017573493"},"_hasShrinkwrap":false},"0.2.0":{"name":"@oriun/next-api","version":"0.2.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.2.0","_integrity":"sha512-k35mQ2FtNwi840u1gRUtO4NmiNpEV/3OHunj36Xyh+7WvRJSLUNhlFd2RAf+E5wZnDliIkKR+vk1kfuUSbG95w==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/c425d02ef505fce9f4e660eff55177d3/oriun-next-api-0.2.0.tgz","_from":"file:oriun-next-api-0.2.0.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-k35mQ2FtNwi840u1gRUtO4NmiNpEV/3OHunj36Xyh+7WvRJSLUNhlFd2RAf+E5wZnDliIkKR+vk1kfuUSbG95w==","shasum":"a9f9504d90ef8fe615daaf017a471277103e2ddc","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.2.0.tgz","fileCount":15,"unpackedSize":66390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS4H3bETwGucJ2nqQZbtKuqrM0gvjFxTvOoioT8VOvFQIhALxaEX0OZeAeebhJ5cJQX8DIukXzq7o2zHTje8uukSJM"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.2.0_1683509031973_0.8771240855274278"},"_hasShrinkwrap":false},"0.3.0":{"name":"@oriun/next-api","version":"0.3.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.0","_integrity":"sha512-bMDRkpIiXXvzg6dvyij+3fUV0qwhEbLO9Y3ZMu0pyWatYNpU5l9nTUOlAqqxA7MhTx6TM88v61FNQDA2KW9byg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/b138917fed1b929ac7da58c25338e495/oriun-next-api-0.3.0.tgz","_from":"file:oriun-next-api-0.3.0.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-bMDRkpIiXXvzg6dvyij+3fUV0qwhEbLO9Y3ZMu0pyWatYNpU5l9nTUOlAqqxA7MhTx6TM88v61FNQDA2KW9byg==","shasum":"6d61abac982fc5925da9b95bf688c6bb544b445d","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.0.tgz","fileCount":17,"unpackedSize":68641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUWzF81HQDHYhbjgxuI4kFgjxv54CGKSmk3M0uXqKWQgIhAMHaaXRaKo65o7nj+vb9LYRhxz+LMbJ2o+On5y4jslNd"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.0_1683512438684_0.5807774577560836"},"_hasShrinkwrap":false},"0.3.1":{"name":"@oriun/next-api","version":"0.3.1","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.1","_integrity":"sha512-b4gEAgnw0qP1A1Js0K+B/DkjfdmwmZisIK9qRvGfovQ0LWs2kuZkcG1rUa3FDLLnmmZxXbHptJCwbA3MtTzFLg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/2b10ca8004e885ab2bfa58320e63d49c/oriun-next-api-0.3.1.tgz","_from":"file:oriun-next-api-0.3.1.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-b4gEAgnw0qP1A1Js0K+B/DkjfdmwmZisIK9qRvGfovQ0LWs2kuZkcG1rUa3FDLLnmmZxXbHptJCwbA3MtTzFLg==","shasum":"4609fa78c3b763ec5bed388307e6a2aa37d0785c","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.1.tgz","fileCount":17,"unpackedSize":68654,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTpF6jofls2hujIXd4lAI1+HcfT9PL+j+fW7EgY6n/rQIgfSkNWaA/PPPHYugJnVd9zpcTIi0xUJJxsvvhkgLUiZs="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.1_1683624312796_0.8300646032365591"},"_hasShrinkwrap":false},"0.3.2":{"name":"@oriun/next-api","version":"0.3.2","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"autoprefixer":"10.4.14","next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","eslint":"8.40.0","eslint-config-next":"13.4.1","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.2","_integrity":"sha512-0MZ6Zs7Eip2g4FPhEFc0UYBXc7Vc1BUouPVqHnrvPfR1yc/IZCzrfNL497ko+t19K+jSWKkNnk/Pb3DeNgPULQ==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/45a18535e56407356f4c18b8648931a3/oriun-next-api-0.3.2.tgz","_from":"file:oriun-next-api-0.3.2.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-0MZ6Zs7Eip2g4FPhEFc0UYBXc7Vc1BUouPVqHnrvPfR1yc/IZCzrfNL497ko+t19K+jSWKkNnk/Pb3DeNgPULQ==","shasum":"249cb06f4244f19a8971db05046635d5bbde2181","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.2.tgz","fileCount":17,"unpackedSize":68691,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCarP//dA1yLBSnoznYo2Brscpn0TtBzXd2QArihoqaCgIgRs53NoW8Qe/w46jO5Tj988TWsw8RRRnY/edOmIsst+k="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.2_1683627139355_0.2957381761290425"},"_hasShrinkwrap":false},"0.3.3":{"name":"@oriun/next-api","version":"0.3.3","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":"^13.4.1","zod":"^3.21.4"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.3","_integrity":"sha512-Y9aB++6yMQs4HuZgakubPpa8orKBNsi5PghUtVEyamJ3r9BT1zr0TxeEdZc66+FVmN24Ella1RxXTi4pA8SiLw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/1d112f42d46934fee73a6314a9a0a65c/oriun-next-api-0.3.3.tgz","_from":"file:oriun-next-api-0.3.3.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Y9aB++6yMQs4HuZgakubPpa8orKBNsi5PghUtVEyamJ3r9BT1zr0TxeEdZc66+FVmN24Ella1RxXTi4pA8SiLw==","shasum":"93188d598f0b4b8d64f8ba1e61b5005c4ffd0d44","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.3.tgz","fileCount":17,"unpackedSize":68692,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8TxDS0pC/GkiJ8JndToyVXhH6arDgTt+vhtm59SyrGAIhAO+5T4hsW8+REl5FtkD2ePeVKuJs+DhdR1pKAdkCQkV8"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.3_1683717849665_0.6493617980525221"},"_hasShrinkwrap":false},"0.3.4":{"name":"@oriun/next-api","version":"0.3.4","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.4","_integrity":"sha512-T70whBzCD32iv4OOWWFHbjN7Txy9t9M+muPJrXzX6jnFPLkcpA47ET9ZYyd7gisKaOAnjQjSQ9+mk6gf8nGs0g==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/138d30d4c18371b765228c2a2217ed71/oriun-next-api-0.3.4.tgz","_from":"file:oriun-next-api-0.3.4.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-T70whBzCD32iv4OOWWFHbjN7Txy9t9M+muPJrXzX6jnFPLkcpA47ET9ZYyd7gisKaOAnjQjSQ9+mk6gf8nGs0g==","shasum":"5976cfb3ee9abb4bc49f57b5849faf7e7e084243","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.4.tgz","fileCount":17,"unpackedSize":68690,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/S9qqCatj9vaIVcOLZRRwhRBl4ff4ED8SGRx/10L3OAIhANrj7gr7nHn0NiHCLda9pWkG//0TAdF01jDCWpqjy0LA"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.4_1683718216475_0.9328106835116263"},"_hasShrinkwrap":false},"0.3.5":{"name":"@oriun/next-api","version":"0.3.5","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.5","_integrity":"sha512-dp0M3G5yMHimU6VkTQ33o26bmgpUYjLyEDpOex2LVgxnVSZTt6d0qYTD3RIlW2JisfZWmK0E/8cdEJv9CwoqoA==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/4e4a083b66b1eb4d535311d26eee2122/oriun-next-api-0.3.5.tgz","_from":"file:oriun-next-api-0.3.5.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-dp0M3G5yMHimU6VkTQ33o26bmgpUYjLyEDpOex2LVgxnVSZTt6d0qYTD3RIlW2JisfZWmK0E/8cdEJv9CwoqoA==","shasum":"5f401cd18eb7fa5661f8908d3822b48c8033a830","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.5.tgz","fileCount":17,"unpackedSize":68887,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFTCvbgK1tj3ogrr6NFjtkigbGfyWeXwzDXruCDQv9KLAiEAwRpAlrfKMNWxQYjNFFbujSJjUVJq5qmFTypTZuKWNeA="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.5_1683721909269_0.44142808448463833"},"_hasShrinkwrap":false},"0.3.6":{"name":"@oriun/next-api","version":"0.3.6","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.3.6","_integrity":"sha512-gm1ZSUZdK5TUIsH4kRQfTuHQvOL7YgiOH87n+EpQDsbIiNFmhxQZcMSECvav+vMjMoYfN3EYYtUW+rJwhfhq7A==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/96fbcf2c2e290db3ebed05f3618b926b/oriun-next-api-0.3.6.tgz","_from":"file:oriun-next-api-0.3.6.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-gm1ZSUZdK5TUIsH4kRQfTuHQvOL7YgiOH87n+EpQDsbIiNFmhxQZcMSECvav+vMjMoYfN3EYYtUW+rJwhfhq7A==","shasum":"2b654ff7d442acc7c5690d4b13e4b234da9ef7e7","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.3.6.tgz","fileCount":17,"unpackedSize":68871,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpVq/nXkQarsHXeEeo1EybCw1+ft0TM1UPoMDRfn2vGAiEAsklkqcm9DK9LjMX97GZTP5EoZXHaiHcM1ql+yGAkGFA="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.3.6_1683723422698_0.6666196834006661"},"_hasShrinkwrap":false},"0.4.0":{"name":"@oriun/next-api","version":"0.4.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.4.0","_integrity":"sha512-ISv5F0dcrdHN/SPfFcSOwcr0dTohbSBNWRRCr+LFmMhVF1kp1XOA/a/MUIUMCGfeIh70pmWGiniXdhjmsl9agQ==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/65b3419c83044db1e7d346d973cb7524/oriun-next-api-0.4.0.tgz","_from":"file:oriun-next-api-0.4.0.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-ISv5F0dcrdHN/SPfFcSOwcr0dTohbSBNWRRCr+LFmMhVF1kp1XOA/a/MUIUMCGfeIh70pmWGiniXdhjmsl9agQ==","shasum":"626e10970168713ae2708e3503b4a631fd6899b2","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.4.0.tgz","fileCount":17,"unpackedSize":70037,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmSdhgpEy4z/vHSUhdokOKZB/42CJqQBFM6nDHwm7WBAiEA5xT22pmxc0xpuNpD+ZbNjC0D5/npURK2oQsz7mfIpHs="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.4.0_1684271956618_0.5951743118532158"},"_hasShrinkwrap":false},"0.5.0":{"name":"@oriun/next-api","version":"0.5.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.5.0","_integrity":"sha512-Q/bGAsUBazqZbdkttsQNvISWn7Erd6ZP5vF6VBg1OiC9hQlIcqzOSFKgvmDl5sGAaPnkieWn3git2iq1kSb9XA==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/50e5b70c7a525264e7724aa71498ea89/oriun-next-api-0.5.0.tgz","_from":"file:oriun-next-api-0.5.0.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Q/bGAsUBazqZbdkttsQNvISWn7Erd6ZP5vF6VBg1OiC9hQlIcqzOSFKgvmDl5sGAaPnkieWn3git2iq1kSb9XA==","shasum":"7087873134871b6d4abaa481324524672a139a82","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.5.0.tgz","fileCount":18,"unpackedSize":79516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8hv64F+F0yyOk3fQBBoXiuX0UqEF7wWeCllNhCLapNwIgf6RJxqFc0fkUj3Xne9JyrJDk3fDDghT/5zo5FgtPnwk="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.5.0_1684275612170_0.2903412018490301"},"_hasShrinkwrap":false},"0.6.0":{"name":"@oriun/next-api","version":"0.6.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.0","_integrity":"sha512-Z74BAw5jzwgD6TYD5QI2/6wdVAXFv6pzfbD9lntqI5GcJDHgHA9CsnJpYc0Ih8K1kvtRkKJLX+xYFKMWUwk+Eg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/5fcb0a4b32141a96fa853b723438fe52/oriun-next-api-0.6.0.tgz","_from":"file:oriun-next-api-0.6.0.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-Z74BAw5jzwgD6TYD5QI2/6wdVAXFv6pzfbD9lntqI5GcJDHgHA9CsnJpYc0Ih8K1kvtRkKJLX+xYFKMWUwk+Eg==","shasum":"4a7167d981aa899f5476cc6ec8463827eb7f7531","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.0.tgz","fileCount":17,"unpackedSize":21991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvBUj0EnxmycsBlGCoK3vC9ReSCclHhztBI5havEFlmwIhAOG3EUvUi6NKyYYe58TCC0Bm4AurDMmGtf5sSCnppTnD"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.0_1684275742245_0.2555462330179603"},"_hasShrinkwrap":false},"0.6.1":{"name":"@oriun/next-api","version":"0.6.1","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.1","_integrity":"sha512-6OTlBsUSQUj/toGYBtqV8JT2j/MPW2Dp45e49p6AEpuo3zDsdbDsnEGR1mHpjUka5okFjuUYclXPNV/aEYKk9w==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/edff3b0d7d00508f0d0eeedc7fc280aa/oriun-next-api-0.6.1.tgz","_from":"file:oriun-next-api-0.6.1.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-6OTlBsUSQUj/toGYBtqV8JT2j/MPW2Dp45e49p6AEpuo3zDsdbDsnEGR1mHpjUka5okFjuUYclXPNV/aEYKk9w==","shasum":"27b51c5a687a81288c3528f09ef052a4a35e9089","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.1.tgz","fileCount":17,"unpackedSize":22308,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICk3z1Iibjgkv18uRnvW86XAEvrYstKXKxaBQQJZjtubAiEAp0QSxfmZKURcxAEzgnAhEYFERFhKH+dxPB/5pL48KeQ="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.1_1684878409054_0.24418875305280396"},"_hasShrinkwrap":false},"0.6.2":{"name":"@oriun/next-api","version":"0.6.2","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.2","_integrity":"sha512-ctZDa/lgZdENOZVjckn3jRqsAs3A4WiCEXUYcXLPMY4W5lX/GF9bN9P1BfOkEJMu3G+kCZjAZJov//Q3/tbNkw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/001b6e67e8bfe92366e5be2beb9306f4/oriun-next-api-0.6.2.tgz","_from":"file:oriun-next-api-0.6.2.tgz","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-ctZDa/lgZdENOZVjckn3jRqsAs3A4WiCEXUYcXLPMY4W5lX/GF9bN9P1BfOkEJMu3G+kCZjAZJov//Q3/tbNkw==","shasum":"e77f612ed421e50fad712f0e2885630db19dfb04","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.2.tgz","fileCount":17,"unpackedSize":22787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2GQHiaEL0JgZqGw+6pK6QsXuJkmsSOplLut9KFTUNWAiEAxGiy+tO1ycW7mVifecGl2xTCRLjJkw6IZiYWR0CpwBk="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.2_1686495377619_0.5086682404311924"},"_hasShrinkwrap":false},"0.6.3":{"name":"@oriun/next-api","version":"0.6.3","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.3","_integrity":"sha512-85C5FT7o4jim6Jz20VoJzpVSWcWdlCQAehscyWv3TpLWGaE0wgCqQkCFCug61zDq46HTcfaOiR+J4sLmSgWC4g==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/b0c1f95cd6dfd407b2dadf388cafe0f9/oriun-next-api-0.6.3.tgz","_from":"file:oriun-next-api-0.6.3.tgz","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-85C5FT7o4jim6Jz20VoJzpVSWcWdlCQAehscyWv3TpLWGaE0wgCqQkCFCug61zDq46HTcfaOiR+J4sLmSgWC4g==","shasum":"c3198df6f9f2816b8d96ee3736bdd4cdfd71b4ac","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.3.tgz","fileCount":17,"unpackedSize":23139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT2BWf1oyCZHM4EJtVVD+7zzk2AjS0sWYZPNK9AT2t2gIhALFxcOVhrAa2FfApAeQU+Bx/y6Qjcxo5r8iqN2w8T17x"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.3_1699649083067_0.8781275823499002"},"_hasShrinkwrap":false},"0.6.4":{"name":"@oriun/next-api","version":"0.6.4","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.4","_integrity":"sha512-4yAEAjN9skMSnqXfZUb39aJLcSNLJ1DpxR1UmZTOUif4ypPfSKU897CWfRaIJieP6fSIUMyd5NUvGubcTmAkKg==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/af2a387607f39bd47c8fab9270743ad2/oriun-next-api-0.6.4.tgz","_from":"file:oriun-next-api-0.6.4.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-4yAEAjN9skMSnqXfZUb39aJLcSNLJ1DpxR1UmZTOUif4ypPfSKU897CWfRaIJieP6fSIUMyd5NUvGubcTmAkKg==","shasum":"5285133a145b60046815f8adaa429a5f61160a12","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.4.tgz","fileCount":17,"unpackedSize":23829,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAMCm4PWHCWaQSL3osAwROCWA7HQa6zctWN0BCm5AqvAiEA5PIPy0mMiN0MMy93Gchq5DQnYpEJT0u/mloELRSU3d4="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.4_1700656790917_0.9807083691203611"},"_hasShrinkwrap":false},"0.6.5":{"name":"@oriun/next-api","version":"0.6.5","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.6.5","_integrity":"sha512-RLNOpbAtwaybiQm6jeoZj58DuW68GIYxSpSuvbl6DjlOAEATGPeWRVWVk+o2UXnZA+WysigYO/qpoQiE/YjLoQ==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/9e75354e9f314a77183c59a985c32354/oriun-next-api-0.6.5.tgz","_from":"file:oriun-next-api-0.6.5.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-RLNOpbAtwaybiQm6jeoZj58DuW68GIYxSpSuvbl6DjlOAEATGPeWRVWVk+o2UXnZA+WysigYO/qpoQiE/YjLoQ==","shasum":"1ee4f65f0545e4b00b6b9d793285d92d4ca76ffb","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.6.5.tgz","fileCount":17,"unpackedSize":23711,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkYtHEA0VF1WT/ZuQAozPtoscm2FYxbUDuofuDBAI3oAIhAJH+UY23RsOJyuygb7qYVSgDnQ76g6gRJNa6HSQw1WBV"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.6.5_1700663480347_0.037004659985164334"},"_hasShrinkwrap":false},"0.7.0":{"name":"@oriun/next-api","version":"0.7.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.7.0","_integrity":"sha512-mKo5K7euWaLeK9vAz7jdWRoFzamIC4yIBUq5VHBEUMe4WaFGbgdCrF/4hU+/kzeQryTQplC5QecvUUtoyCQM9A==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/0a879e16efde52ee81a2bd71ece1c907/oriun-next-api-0.7.0.tgz","_from":"file:oriun-next-api-0.7.0.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-mKo5K7euWaLeK9vAz7jdWRoFzamIC4yIBUq5VHBEUMe4WaFGbgdCrF/4hU+/kzeQryTQplC5QecvUUtoyCQM9A==","shasum":"7db4b5813daf71be9f046875f43a9523b6e4b7ed","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.7.0.tgz","fileCount":17,"unpackedSize":23802,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOVTWzATGq1O5LEF4I79jsl9Tkodg1m11Zbsd1dkbvbgIhAMIsbP7JTRfeEjdwqhmxc0PNQzgPAW3KFCMR4sgeVzis"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.7.0_1700665461187_0.8277666174239968"},"_hasShrinkwrap":false},"0.7.1":{"name":"@oriun/next-api","version":"0.7.1","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.7.1","_integrity":"sha512-nWMmHmKpSMm1syZJ7Lz94cmgYdgZkTsshvsNtarwQ/qWBjrnoD2obrl4QvjbogyyYekrUaUXxtCe8tU+XtWxIw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/f2a15931b20cb76b6404d56bd60bde51/oriun-next-api-0.7.1.tgz","_from":"file:oriun-next-api-0.7.1.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-nWMmHmKpSMm1syZJ7Lz94cmgYdgZkTsshvsNtarwQ/qWBjrnoD2obrl4QvjbogyyYekrUaUXxtCe8tU+XtWxIw==","shasum":"ab49637192bfd54cb5b4df81a47b3d0452641f7e","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.7.1.tgz","fileCount":17,"unpackedSize":23954,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgAD2O8SZ6txeV7DS2DRX1JsQ1FoyGPtrvJzBe8Ivf8gIhAK/VQS6H6OEjaPdtgcgcEpqVIDhOVh/u0aP7Oijk8/pS"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.7.1_1700666669044_0.4594975079270054"},"_hasShrinkwrap":false},"0.8.0":{"name":"@oriun/next-api","version":"0.8.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.8.0","_integrity":"sha512-WBOelKNItQ/VaypQrf3iaRZX7APgyRzJPG6g+hAlRUgNY1wmCFiMPS5Jb4lG0YNBmJUh0gdAGVcC8EG3kAdbAw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/63b4c8aea9210efb80c957992a63fc6a/oriun-next-api-0.8.0.tgz","_from":"file:oriun-next-api-0.8.0.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-WBOelKNItQ/VaypQrf3iaRZX7APgyRzJPG6g+hAlRUgNY1wmCFiMPS5Jb4lG0YNBmJUh0gdAGVcC8EG3kAdbAw==","shasum":"3dfeed1e094f0f3021bb3692373e8aa4ba210929","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.8.0.tgz","fileCount":17,"unpackedSize":23979,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGB+A9sm78T2/a6EGpQ/Rnmblws+Va39mJ6Ko1TufKQTAiEA4s3PbJWPKT0OSxJ5aoj3bnOWwONDdU5NhF8S9n6ZT/0="}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.8.0_1704328137715_0.5484611989025763"},"_hasShrinkwrap":false},"0.9.0":{"name":"@oriun/next-api","version":"0.9.0","private":false,"license":"MIT","description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"main":"dist/index.js","peerDependencies":{"next":">=13.4","zod":">=3.21"},"devDependencies":{"@types/node":"20.1.0","@types/react":"18.2.5","@types/react-dom":"18.2.4","autoprefixer":"10.4.14","eslint":"8.40.0","eslint-config-next":"13.4.1","react":"18.2.0","react-dom":"18.2.0","typescript":"5.0.4"},"scripts":{"dev":"next dev","build":"next build","start":"next start","lint":"next lint","lib":"tsc -p tsconfig.lib.json","prepublish":"npm run lib"},"types":"./dist/index.d.ts","_id":"@oriun/next-api@0.9.0","_integrity":"sha512-ZglcoiKZpOKgZR7khLxLL0NPuLb9v68YacDlYNpnv/QkpgtuYRcolanBVoBIw/S5ixpKaRk+nMcDnsdkXdi6Kw==","_resolved":"/private/var/folders/sb/dfg6lbqd69135_xtzbv09_q00000gn/T/c540fa26b4e8c3fb2ea47995e704fe67/oriun-next-api-0.9.0.tgz","_from":"file:oriun-next-api-0.9.0.tgz","_nodeVersion":"21.2.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-ZglcoiKZpOKgZR7khLxLL0NPuLb9v68YacDlYNpnv/QkpgtuYRcolanBVoBIw/S5ixpKaRk+nMcDnsdkXdi6Kw==","shasum":"583008ff0ba808f6ac860443757bc9e9effeca8a","tarball":"https://registry.npmjs.org/@oriun/next-api/-/next-api-0.9.0.tgz","fileCount":17,"unpackedSize":24118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMnM+CoQ5KmPWgf11puAArOmW9tf8KHWONNZitajAXfQIhALBjEBO49U/U+YP5tZydzd6jzYJQ0huO+rjMMJf088gu"}]},"_npmUser":{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"},"directories":{},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/next-api_0.9.0_1704393301569_0.3673024921090047"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-06T12:00:55.057Z","0.1.0":"2023-05-06T12:00:55.524Z","modified":"2024-01-04T18:35:02.229Z","0.1.1":"2023-05-06T12:04:44.776Z","0.1.2":"2023-05-06T16:07:24.256Z","0.1.3":"2023-05-06T16:22:34.787Z","0.1.4":"2023-05-06T16:29:55.193Z","0.1.5":"2023-05-06T17:27:22.450Z","0.1.6":"2023-05-06T17:39:39.789Z","0.1.7":"2023-05-06T17:44:29.368Z","0.1.8":"2023-05-06T17:49:26.916Z","0.1.9":"2023-05-06T18:35:20.513Z","0.2.0":"2023-05-08T01:23:52.159Z","0.3.0":"2023-05-08T02:20:38.860Z","0.3.1":"2023-05-09T09:25:12.964Z","0.3.2":"2023-05-09T10:12:19.522Z","0.3.3":"2023-05-10T11:24:09.808Z","0.3.4":"2023-05-10T11:30:16.658Z","0.3.5":"2023-05-10T12:31:49.414Z","0.3.6":"2023-05-10T12:57:02.876Z","0.4.0":"2023-05-16T21:19:16.808Z","0.5.0":"2023-05-16T22:20:12.350Z","0.6.0":"2023-05-16T22:22:22.460Z","0.6.1":"2023-05-23T21:46:49.231Z","0.6.2":"2023-06-11T14:56:17.822Z","0.6.3":"2023-11-10T20:44:43.245Z","0.6.4":"2023-11-22T12:39:51.159Z","0.6.5":"2023-11-22T14:31:20.631Z","0.7.0":"2023-11-22T15:04:21.348Z","0.7.1":"2023-11-22T15:24:29.276Z","0.8.0":"2024-01-04T00:28:57.883Z","0.9.0":"2024-01-04T18:35:01.790Z"},"maintainers":[{"name":"oriun","email":"emmanuel.nuiro@epitech.eu"}],"description":"Next.js API routes with Zod validation","keywords":["next","nextjs","api","api-routes","zod","validation"],"author":{"name":"Oriun"},"license":"MIT","readme":"# NextJS API Wrapper\n\nNextJS API Wrapper is a powerful NPM package that enables developers to create wrappers around their NextJS API routes. It provides request parsing with Zod, middleware, and error handlers, simplifying the process of setting up and managing your API routes. It is also compatible with decorators, allowing you to create API routes with classes, and supports NodeJs and Edge runtimes.\n\n---\n\n## Installation\n\nTo install the NextJS API Wrapper, use the following command:\n\n```bash\npnpm install @oriun/next-api\n```\n\n---\n\n## Usage\n\nNextJS API Wrapper makes it easy to create and manage your API routes. Here's how to use it:\n\n### Wrappers\n\nFirst, import the `api` wrapper and create a `Zod` schema to parse and validate your requests. You can provide schemas for the `body`, `query`, `cookies` and `params` properties of the request:\n\n```ts\nimport { api } from \"@oriun/next-api\";\nimport { z } from \"zod\";\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n```\n\nNext, create a function that handles your API route and wrap it with the `api` wrapper:\n\n```ts\nexport const GET = api((_ctx, _req) => {\n    return \"Hello world !\";\n}, { body })\n\nexport const POST = api((ctx) {\n    return { message: 'Nice to meet you ' + ctx.body.name + '!' };\n}, { body })\n```\n\n### Decorators\n\nNextJS API Wrapper also supports decorators, allowing you to create API routes with classes. To create the same endpoints as above, first import the `API` decorator and create a `Zod` schema to parse and validate your requests:\n\n```ts\nimport { API } from \"@oriun/next-api\";\nimport { z } from \"zod\";\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n```\n\nNext, create a Route class with HTTP methods as method names:\n\n```ts\nclass Route {\n  @API()\n  async GET() {\n    return { message: \"Hello world !\" };\n  }\n\n  @API({ body })\n  async POST(variables: any) {\n    const { name } = variables.body as z.infer<typeof body>;\n    return { message: \"Nice to meet you \" + name + \"!\" };\n  }\n}\n```\n\nFinally, export the methods:\n\n```ts\nexport const { GET, POST } = new Route();\n```\n\nIn this example, we've created a simple API route that responds to GET and POST requests. The GET request returns a simple greeting, while the POST request expects a body with a `name` property and returns a personalized greeting.\n\n---\n\n## Customization\n\nNextJS API Wrapper provides a number of options to customize your API routes. Here's how to use them:\n\n### Middleware\n\nNextJS API Wrapper supports middleware, allowing you to run code before your API routes. To use middleware, simply pass an array of middleware functions to the `api` wrapper:\n\n```ts\nimport { createAPI } from \"@oriun/next-api\";\n\nfunction checkAuth(_ctx: unknown, req: Request) {\n  const authorization = req.headers.get(\"Authorization\");\n  if (!authorization) {\n    throw new Response(JSON.stringify({ message: \"Unauthorized\" }), {\n      status: 401,\n    });\n  }\n  return { authorization };\n}\n\nconst authenticatedRoute = createAPI({\n  middlewares: [checkAuth],\n});\n\nexport const GET = authenticatedRoute((ctx, _req) => {\n  return `Hello world user ${ctx.authorization}!`;\n});\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\nexport const POST = authenticatedRoute(\n  (ctx, _req) => {\n    return `User ${ctx.authorization} created resource with name ${ctx.body.name}!`;\n  },\n  { body }\n);\n```\n\n#### Parameters\n\nAs you can see, the middleware function receives the `ctx` and `req` objects as parameters. The `ctx` object contains the parsed request body, query, cookies and params, while the `req` object contains the original request.\n\n#### Return value\n\nThe middleware function can return an object that will be merged with the `ctx` object, allowing you to pass data to your API route. If the middleware function throws an error, the error will be handled by the error handlers. If the middleware function returns a response, the response will be returned by the API route.\n\n### Error Handling\n\nNextJS API Wrapper supports error handling, allowing you to handle errors thrown by your API routes. To use error handling, simply pass an array of error handler functions to the `api` wrapper:\n\n```ts\nimport { createAPI } from \"@oriun/next-api\";\n\nfunction errorHandler(error: any) {\n  if (error instanceof Error) {\n    return new Response(JSON.stringify({ message: error.message }), {\n      status: 500,\n    });\n  }\n  return new Response(\n    JSON.stringify({ message: \"Unexpected\", details: error }),\n    {\n      status: 500,\n    }\n  );\n}\n\nconst errorHandledRoute = createAPI({\n  errorHandlers: [errorHandler],\n});\n\nexport const GET = errorHandledRoute((_ctx, _req) => {\n  throw new Error(\"Something went wrong\");\n});\n```\n\n#### Parameters\n\nAs you can see, the error handler function receives the error as a parameter. The error can be an `Error` object or any other type of variable.\n\n#### Return value\n\nThe error handler function can return a response, allowing you to return a custom error response. If the error handler function returns a response, the response will be returned by the API route. If the error handler function returns nothing, the error will be rethrown and handled by the next error handler.\n\n### Decorators\n\nYou can also use middleware and error handlers with decorators. To do so, simply pass an array of middleware functions and error handler functions to the `createAPIDecorator` decorator:\n\n```ts\nimport { createAPIDecorator } from \"@oriun/next-api\";\n\nfunction checkAuth(_ctx: unknown, req: Request) {\n  const authorization = req.headers.get(\"Authorization\");\n  if (!authorization) {\n    throw new Response(JSON.stringify({ message: \"Unauthorized\" }), {\n      status: 401,\n    });\n  }\n  return { authorization };\n}\n\nfunction errorHandler(error: any) {\n  if (error instanceof Error) {\n    return new Response(JSON.stringify({ message: error.message }), {\n      status: 500,\n    });\n  }\n  return new Response(\n    JSON.stringify({ message: \"Unexpected\", details: error }),\n    {\n      status: 500,\n    }\n  );\n}\n\nconst api = createAPIDecorator({\n  middlewares: [checkAuth],\n  errorHandlers: [errorHandler],\n});\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n\nclass Route {\n  @api()\n  async GET() {\n    return `Hello world user ${this.authorization}!`;\n  }\n\n  @api({ body })\n  async POST(variables: any) {\n    return `User ${this.authorization} created resource with name ${this.body.name}!`;\n  }\n}\n\nexport const { GET, POST } = new Route();\n```\n\n---\n\n## API Reference\n\n#### `api(handler, schemas?, errorHandlers?)`\n\nThe api function is used to create an API route. Here's an example of how to use it:\n\n```ts\nimport { api } from \"@oriun/next-api\";\nimport { z } from \"zod\";\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n\nasync function handler(variables: any) {\n  const { name } = variables.body as z.infer<typeof body>;\n  return { message: \"Nice to meet you \" + name + \"!\" };\n}\n\nexport const POST = api(handler, { body });\n```\n\n#### `createAPI({ middlewares, errorHandlers })`\n\nThe createAPI function is used to create an API with pre-configured middleware. Here's an example of how to use it:\n\n```ts\nimport { createAPI } from \"@oriun/next-api\";\nimport { z } from \"zod\";\n\nexport function firstMiddleware() {\n  console.log(\"firstMiddleware\");\n  return {};\n}\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n\nasync function handler(variables: any) {\n  const { name } = variables.body as z.infer<typeof body>;\n  return { message: \"Nice to meet you \" + name + \"!\" };\n}\n\nexport const POST = createAPI({ middlewares: [firstMiddleware] })(handler, {\n  body,\n});\n```\n\n#### `API(schemas?, errorHandlers?)`\n\nThe API decorator is used to create an API route. Here's an example of how to use it:\n\n```ts\nimport { API } from \"@/lib\";\nimport { z } from \"zod\";\n\nconst body = z.object({\n  name: z.string().min(1).max(100),\n});\n\nclass Route {\n  @API({ body })\n  async POST(variables: any) {\n    const { name } = variables.body as z.infer<typeof body>;\n    return { message: \"Nice to meet you \" + name + \"!\" };\n  }\n}\n\nexport const { POST } = new Route();\n```\n\n#### `createAPIDecorator({ middlewares, errorHandlers })`\n\nThe createAPIDecorator function is used to create a custom API decorator with pre-configured middleware. Here's an example of how to use it:\n\n```ts\nimport { createAPIDecorator } from \"@oriun/next-api\";\n\nexport function firstMiddleware() {\n  console.log(\"firstMiddleware\");\n  return {};\n}\n\nconst customApi = createAPIDecorator({ middlewares: [firstMiddleware] });\n\nclass Route {\n  @customApi()\n  async GET() {\n    return { message: \"Hello world!\" };\n  }\n}\n\nexport const { GET } = new Route();\n```\n\n---\n\n## Contributing\n\nContributions are always welcome! Here's how you can help:\n\n- **Reporting Bugs**: If you find a bug, please search the issue tracker to see if it has already been reported. If it hasn't, feel free to open a new issue with a descriptive title and clear steps to reproduce the bug, as well as the expected and actual results.\n- **Suggesting Enhancements**: If you have an idea for a new feature or an improvement to an existing feature, please open a new issue for discussion.\n- **Pull Requests**: If you've fixed a bug or developed a new feature, you can submit a pull request. Please make sure to follow the existing code style, include tests, and update the documentation if necessary.\n\nBefore contributing, please read our Code of Conduct.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n---\n\nThe MIT License is a permissive open source license that is well-suited to many types of projects. If you choose to use it, you'll need to include a copy of the MIT License in your project. If you prefer a different license, you'll need to include that instead.\n","readmeFilename":"README.md"}