{"_id":"@beautinique/backend-multer","_rev":"11-fd84fa0ea76ce0605742cb96c57e1389","name":"@beautinique/backend-multer","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.0":{"name":"@beautinique/backend-multer","version":"1.0.0","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.0","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"d728da1eb1de8244232629e9a730396f973647d1","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.0.tgz","fileCount":8,"integrity":"sha512-CnXU4H6Lw9f0ZOd6hQ8G1e0GFi47Ppj2wU7tLqkUskswuxi6l6gkMlF42fyD8W4KApnJkUi/3OnQ8OY/IlPS3g==","signatures":[{"sig":"MEUCIQD7nN5jn0HEAwB/8c6wt/ZX8R9qIJP2i06d/Q46kJ0/igIgNK9uCMKt4LnFyQxxiZNYxiM68dRp0B5VPWNgImGw7TA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54712},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"76f26380790343fd88fa0f402fa79420b600aac7","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.10.1","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/backend-classes":"^1.0.1","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.0_1783681572876_0.18066830456511118","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@beautinique/backend-multer","version":"1.0.1","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.1","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"3e32d607aff2b423ab6d88249077f5814602a015","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.1.tgz","fileCount":8,"integrity":"sha512-SG2hey6B0pYl4vINPuUOYdlbmXNbeYUQ1hshZXRak82UFugpSdo90UrlTCg1CGc08w5JchF4P/MKM6T3YxJhXA==","signatures":[{"sig":"MEUCIQCxWtti5/kpcBKucuGrBCRcGGJ3SFCbYiCItciRFWv0NgIgLjzL6KohhlMqtfHUL6lqj+XpwkYunlnkLi8qNLmYpfE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54660},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"76f26380790343fd88fa0f402fa79420b600aac7","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.10.1","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/backend-classes":"^1.0.1","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.1_1783682194965_0.21743556356821392","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@beautinique/backend-multer","version":"1.0.2","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.2","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"dbbd7cb4ef0c9ac7d344a9a5d59f2bd3228b9725","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.2.tgz","fileCount":8,"integrity":"sha512-sLbzbPWwHptccgaNoUCjwHe8ndJDD5Iq2OajZ2/+1vF2J7y+dOeyhIlKtNl0F+vYLPwtRXXhEVwYaE3kVu2GtA==","signatures":[{"sig":"MEUCIQDkVtVT0oiCF4BOW3hSFY4ZLtz8JimoCQiVtg/8lTJVfQIgEopyODqo2yF1KsWHkoDRx/q300ojlmUCxPFroefpkYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54554},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"9e43c10b3726fe5a77deec6ce9163042c1cbb538","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.10.1","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/backend-classes":"^1.0.1","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.2_1783684569919_0.9539382431504575","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@beautinique/backend-multer","version":"1.0.3","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.3","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"b817cc8917e051d20d5f9ba2b45ea2f0e07a96f8","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.3.tgz","fileCount":8,"integrity":"sha512-N/GCRLA1PXMM28tRl1E0UTe9vbR92wx4rRsYkXPh7s2IVoD0yVnn2qNCxEcvuGUZ8kXoK3153k3JLMfnCXKyxA==","signatures":[{"sig":"MEYCIQDsavfx9a2ZZ0GRJ6fW6IQp4rmDlBWClE0R1hVXvzfLEwIhAKUK6r7BLplLPfh2a5WfvUj7g4HV2eo1P0UyLqqqdwUq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54552},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"2aefc5229ad24f8c4b0721c171c04ad661beb831","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.10.1","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/backend-classes":"^1.0.1","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.3_1783793206265_0.9377552864256655","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@beautinique/backend-multer","version":"1.0.4","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.4","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"23806b3a07826ef5468de3a0061c51bba331d196","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.4.tgz","fileCount":18,"integrity":"sha512-tBIR59ckPLGrLZHcklajXaEQY93zBD7W13OnsU1Z/IfCyzbG+pbM81jeXcgfGnmuRiETNY2VUBgEHo5Qb8pGqA==","signatures":[{"sig":"MEUCIH2HOt5/DQ9pDy4gz/VtnPOqLUIYgahC1dcrvkHVgDklAiEAmv2EItudpvK48EU1nu3vpJfdXg1wlYsNdLBJsrxfNTg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61285},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"d4aac4914c69d6117a01d0ec8c902a43e5b036dc","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.8.0","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.2","@beautinique/backend-classes":"^1.0.1","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.4_1783961270236_0.170471164143025","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@beautinique/backend-multer","version":"1.0.5","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.5","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"07b89a7fb3dc8a2b5b99014ffb3c75c1c0454f9f","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.5.tgz","fileCount":18,"integrity":"sha512-7FQkH6zhbuWMpZV/Wr/bUbYo8+d7wztczP/pseb9ZuzMM+Mj7wBTqCx8DD6fcFyleCH6c5x6Qdb4lt1mva7iOA==","signatures":[{"sig":"MEUCICT3eldmiLNckKXsw+38qxv2RtxI8lR6qdYWhhLfTXv4AiEA/wX2LDU1cVYl7Yxc2p6xDXm454HlXTfkOtm7+hsyL10=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61285},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"309063216b8eafe33d6f8bb794e6ee6b96aedb9d","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.8.0","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.2","@beautinique/backend-classes":"^1.0.2","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.5"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.5_1784656542665_0.15356767673533067","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@beautinique/backend-multer","version":"1.0.6","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.6","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"3e7cdcb3012549d426f024aa36d088948a393357","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.6.tgz","fileCount":18,"integrity":"sha512-sDeJ0obKhimBn9hrWuFpjoBlbuUPk6vJmhMN1/QTNert+4x3h4F/UK1Ed36SjsZc8DA0wXgDc7N58rT/eTCmCg==","signatures":[{"sig":"MEUCIQD1PgWTuWZ9jwaqAGDpKy2ZSmm4iXYpj8gpscsIbi1QYAIgGrEsjpzQVwIiyVsvoDOvdvPMTjyY9I9dYnRKatFW2IE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61286},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"111d1c59732fda60523fe280e274a3b07ecdcd48","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.8.0","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.2","@beautinique/backend-classes":"^1.0.3","@beautinique/shared-constants":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.11"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.6_1784657638362_0.03531669963913364","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@beautinique/backend-multer","version":"1.0.7","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.7","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"d03e8723204bfc29ec7c5b6fbd6e07c49bb5341b","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.7.tgz","fileCount":18,"integrity":"sha512-/mQ0x6ACiEm125MvGO/vddDDUM3tru0PEd0/r8jzGGPu55150i11Ie+kbIBimJk01FWgJ57BKNZ/cT0p4Vhu3Q==","signatures":[{"sig":"MEUCIQDkO9uto/uiksGQnvImeBY1kxHL8LcnRzIYZf6cRXh4DQIgNp8e2yNJhwbkytRDR4v/5lizilJx2y9gMF6rMzhwN/I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61287},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"e30737149d6d3916e61a909d2a30954882a1ce7e","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.8.0","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.5","@beautinique/backend-classes":"^1.0.4","@beautinique/shared-constants":"^1.0.11"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.16"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.7_1785442806444_0.9410418204668403","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@beautinique/backend-multer","version":"1.0.8","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.8","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"bb19e65a971f521a55eacbfd7585b7b29da08333","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.8.tgz","fileCount":18,"integrity":"sha512-23uBaFcLuyyXnDeCeqffmzUiD3Akuq62wegwHyrzUCgOLruc9DV6oWbMhOrqQj8Xi/G2t2gLh3YAFnQ75S5MEg==","signatures":[{"sig":"MEYCIQDUQ2fh/Fj8I7HbJsLXoZNMCPtK3z6O9m4aUQbeNkGy2wIhALaXqDrz24wf+qGwvcsCTjvLF9+cnGxDiXqHDd12VTXB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61352},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"b026a3b9693c94e58dcd163010dbf39b6b79e7ea","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.8.0","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.6","@beautinique/backend-classes":"^1.0.5","@beautinique/shared-constants":"^1.0.15"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.21"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.8_1787039357043_0.5585703593815046","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@beautinique/backend-multer","version":"1.0.9","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","_id":"@beautinique/backend-multer@1.0.9","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"dist":{"shasum":"bb06b19579603d5b56afdaae1b38759b5fe98914","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.9.tgz","fileCount":18,"integrity":"sha512-KgwNspXVT+wey7WxRQjcfYvFuqRVwF/pZu7CACHFiWFC7yvJTZiKtSoMmbwWQpguR6Ft9RWK8IPYOfZ7s+ejMg==","signatures":[{"sig":"MEUCIQCkW6IwUxUzXZQtbCPDoqRWDQpuNRgwN1rShNpTzCIcxwIgGBp8w8Lo7Da2TBsoVIhebcghq8MBO9JitfjIT/0qvMs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61352},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=24"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"2807c53a8d389b6f0a36770b416bcc2026e40ca2","scripts":{"dev":"tsup --watch","lint":"eslint .","build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","typecheck":"tsc --noEmit"},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"repository":{"url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","type":"git","directory":"packages/backend/multer"},"_npmVersion":"11.10.1","description":"Backend multer middleware for Beautinique project.","directories":{},"sideEffects":false,"_nodeVersion":"24.13.1","dependencies":{"multer":"^2.2.0","@beautinique/shared-utils":"^1.0.7","@beautinique/backend-classes":"^1.0.6","@beautinique/shared-constants":"^1.0.17"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^6.0.3","@types/multer":"^2.2.0","@types/express":"^5.0.6","@beautinique/shared-types":"^1.0.24"},"peerDependencies":{"express":"^5.2.1"},"_npmOperationalInternal":{"tmp":"tmp/backend-multer_1.0.9_1787219454061_0.1897327126551096","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@beautinique/backend-multer","version":"1.0.10","description":"Backend multer middleware for Beautinique project.","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"author":{"name":"Nageshwar Pawar"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","directory":"packages/backend/multer"},"bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"build":"tsup","postbuild":"node ../../../scripts/build-types/index.mjs","dev":"tsup --watch","lint":"eslint .","typecheck":"tsc --noEmit"},"publishConfig":{"access":"public"},"engines":{"node":">=24"},"dependencies":{"@beautinique/backend-classes":"^1.0.7","@beautinique/shared-constants":"^1.0.18","@beautinique/shared-utils":"^1.0.8","multer":"^2.2.0"},"peerDependencies":{"express":"^5.2.1"},"devDependencies":{"@beautinique/shared-types":"^1.0.26","@types/express":"^5.0.6","@types/multer":"^2.2.0","typescript":"^6.0.3"},"gitHead":"3a5103fb9030969e849b1e69b02bbe7d1cab5fbe","_id":"@beautinique/backend-multer@1.0.10","_nodeVersion":"24.13.1","_npmVersion":"11.8.0","dist":{"integrity":"sha512-dpXwCP9pWLsliqJp5A59uMY/Pmw8WmvmSLIPZI/zr6hj+7O52o5dlNvDXOfiu1twmC0T7Rblc8rCroWrpkqdRg==","shasum":"5b5252be2a1bee99eac576497429a1ea265a1ad6","tarball":"https://registry.npmjs.org/@beautinique/backend-multer/-/backend-multer-1.0.10.tgz","fileCount":18,"unpackedSize":61353,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHgMpjmrDdgSaoowhAeuRIjQnB4G2bUEq1Xt0uphJNAUAiEAz/Hcp2jzmnbbSyPjZM9DfCoTlR4q9eXdnDK3m1VuFlc="}]},"_npmUser":{"name":"beautinique","email":"beautinique.bq@gmail.com"},"directories":{},"maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/backend-multer_1.0.10_1787576765996_0.5667067351432751"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T11:06:12.656Z","modified":"2026-08-24T13:06:06.280Z","1.0.0":"2026-07-10T11:06:13.006Z","1.0.1":"2026-07-10T11:16:35.109Z","1.0.2":"2026-07-10T11:56:10.080Z","1.0.3":"2026-07-11T18:06:46.400Z","1.0.4":"2026-07-13T16:47:50.393Z","1.0.5":"2026-07-21T17:55:42.813Z","1.0.6":"2026-07-21T18:13:58.497Z","1.0.7":"2026-07-30T20:20:06.588Z","1.0.8":"2026-08-18T07:49:17.185Z","1.0.9":"2026-08-20T09:50:54.193Z","1.0.10":"2026-08-24T13:06:06.112Z"},"bugs":{"url":"https://github.com/Nageshwar1997/BQ-Packages/issues"},"author":{"name":"Nageshwar Pawar"},"license":"MIT","homepage":"https://github.com/Nageshwar1997/BQ-Packages/tree/main/packages/backend/multer#readme","keywords":["backend","multer","express","middleware","upload","file-upload","validation","beautinique"],"repository":{"type":"git","url":"git+https://github.com/Nageshwar1997/BQ-Packages.git","directory":"packages/backend/multer"},"description":"Backend multer middleware for Beautinique project.","maintainers":[{"name":"beautinique","email":"beautinique.bq@gmail.com"}],"readme":"# @beautinique/backend-multer\r\n\r\nA validated file-upload middleware for Express, built on top of [`multer`](https://www.npmjs.com/package/multer) - handles the upload, then checks Multer's own errors plus MIME type and size limits, reporting everything as a single structured error.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @beautinique/backend-multer\r\n```\r\n\r\n`express` is a peer dependency - install whichever version your service already uses.\r\n\r\n## Usage\r\n\r\n```ts\r\nimport { validateMulter } from '@beautinique/backend-multer';\r\n\r\napp.post(\r\n  '/products/:id/image',\r\n  validateMulter({ type: 'single', fieldName: 'image' }),\r\n  tryCatch(async (req, res) => {\r\n    // req.file is validated - correct MIME type, within the size limit\r\n    res.success({ data: req.file });\r\n  }),\r\n);\r\n```\r\n\r\n| Option        | Default                          | Description                                                                                       |\r\n| ------------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------ |\r\n| `type`        | _(required)_                        | The Multer upload mode: `'single'`, `'array'`, `'fields'`, `'any'`, or `'none'`.                     |\r\n| `fieldName`   | -                                    | Required when `type` is `'single'` or `'array'` - the form field to read files from.                |\r\n| `maxCount`    | Multer's default (`Infinity`)       | Only used with `type: 'array'` - the max number of files accepted for `fieldName`.                  |\r\n| `fieldsConfig`| -                                    | Required when `type` is `'fields'` - `{ name, maxCount }[]`, one entry per form field.               |\r\n| `limits`      | Multer's own defaults               | Passed straight through to `multer({ limits })` (e.g. `fileSize` as a hard byte ceiling).            |\r\n| `format`      | Beautinique's image/video allowlist | Overrides the allowed MIME types per media kind: `{ IMAGE?, VIDEO?, OTHER? }` (each an array of MIME strings). `OTHER` defaults to none allowed. |\r\n| `size`        | Beautinique's image/video defaults  | Overrides the max size per media kind, in bytes: `{ IMAGE?, VIDEO?, OTHER? }`. `OTHER` defaults to 2 MB. |\r\n\r\nUploads always use `multer`'s `memoryStorage()` - files are available as buffers on `req.file`/`req.files`, never written to disk.\r\n\r\nValidation runs in two stages, and the first one that fails wins:\r\n\r\n1. **Multer's own errors** - e.g. `LIMIT_FILE_SIZE`, `LIMIT_UNEXPECTED_FILE`, `LIMIT_FILE_COUNT` - mapped to field/global messages with the appropriate error code (`PAYLOAD_TOO_LARGE`, `BAD_REQUEST`, ...).\r\n2. **MIME type and size validation** - every uploaded file (as determined by `type`) is checked against the resolved `format`/`size` allowlist, using Beautinique's own `@beautinique/shared-constants` image/video defaults unless overridden.\r\n\r\nEither stage can report multiple field/global errors at once (via `@beautinique/backend-classes`'s `ErrorBuilder`) before calling `next(error)` once, so a single response can list every problem with the request instead of failing on just the first one found.\r\n\r\n## Repository\r\n\r\nhttps://github.com/Nageshwar1997/BQ-Packages\r\n\r\n## Homepage\r\n\r\nhttps://github.com/Nageshwar1997/BQ-Packages\r\n\r\n## Issues\r\n\r\nhttps://github.com/Nageshwar1997/BQ-Packages/issues\r\n\r\n## Author\r\n\r\nNageshwar Pawar\r\n\r\n## License\r\n\r\nThis package is licensed under the MIT License. See the root `LICENSE` file for details.\r\n","readmeFilename":"README.md"}