{"_id":"@artesa/multer","_rev":"5-539b2ea7eaa1ae4cbb26e1505089d4ce","name":"@artesa/multer","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.0","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"ts-standard && c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"9db25bfd9cf1b03329a8fc83d9fb8dd462865e0c","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-KcAs/XjuGY9yPgLF1AxtquD4CtXGo002d1sqF/xkb7JzRVmghGLZ8a2AMu2hOOd7Ids8hN4SBh3RGqDRukhz3g==","shasum":"3c077e0aeb3f1632f93cf5efa7466a9ad496210b","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.0.tgz","fileCount":24,"unpackedSize":4133329,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDv/J2+uoRIulY56PgJkKm6v2aOCbEGA46KB6zx9T3jAAiEAyFQgoGTdiRn1hC6tLGX6jQ0WBNzxGE+AZhbZpe+Bkko="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYjIgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmowZBAAobRzl6qyNGyEhUbEeE7JrBX1dlL21a1u967nyn9AcBagHmxT\r\nyTV3f/y+hp2WfgGff3gweWt/w9Dv4TOai7/yXrIwoCfzBg+/P90GLUO0ozFb\r\ncV8GDbjLxi6oIodxUnfLiasnR15PVE0TPAajbU/MCASqWi8vol9FOWnM30Fm\r\nYAS3z66WCjyHgCncSJVaDZkZHW0P6OxoCF5xvhNd0ybefYnRBXheV/2UBhCF\r\nR/ypvbDSJIHBy/fy6N0TNwxX7WLNU4i9zv24Ex1OYIFAaQCGUnf71/T8Y3Pg\r\nUMupest7NxRfoE2YtseXbfYjc5MSOxwmQt9uIjSIt+g5Z0pWesMqLAWql0gH\r\n3pWOK3SfFiiCHmU3wZbFyID0mvZ3fylaTBaF6X42fAdYx8V107JIsiYTi6LS\r\ngr88QnkT7ebr1l7Fs0OvBIYHMGtcz2d67K7rfBkqqV2pIf6H41B5jvyv1whb\r\n4/SYurd8LfiOMe47Fw+1uyJJauRoYhIII+c0QgiyHSyazhjBTdPGGHpjCB4f\r\nBpue1X4GAhB47BeCCwWU547+7qCfDi4x6JqW8D+LqnR/pECEGMZxL1HpcX7o\r\nLF21Bswl+VWeNT1kJPrxmFZSMOzmhy6ezqXyU6RqNULOH5hFOEUVDWpEbEQp\r\n0gWFNBHA7arpjuRjMEUYd0srCL7AxAhomKQ=\r\n=TSkN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.0_1667379744058_0.6039845824079206"},"_hasShrinkwrap":false},"0.1.1":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.1","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"ts-standard && c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"68ec3e91250978f320d0536aa970389f5ac3a6ef","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.1","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-7MIK7aNFkPqQRwwK5Y2U6qHzyy1sKue4Dn02vr7C7Gptl9JvURoRwF0g5n/fcPmGnnx+QmSNHpKXDH4y4qISEg==","shasum":"2e788f103f0a5a1ea0664afe71cdd1cda495f3cf","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.1.tgz","fileCount":24,"unpackedSize":128313,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLC1rgw0TovVCuwXxXdtY0FpHDqDGAYsa9n0klw+2frAiEA7s+6lUH6XmhdfonhgUeo5gkEhJKbJuW1Rx1XPaw7p0g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYmTvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmptmw//VhmhVwgNLA9hN2ueYPaWv/xfPRGwuR8Fj2Pst5NcPU0/MIOt\r\n+gzOVtHJuErsCyJJ5u1h47t1z7t9P/WjiHdGsVKIMcQ6yo8OP5sMUKCdYU6T\r\nfzBoVnvOdJ6ObxWoCQADdj5Tw2MMth7rlv+YSJtILghP5cgIlIvKU4mpHDzl\r\nADi8xUZ5knSjJ1/Td7DKKYqUbyRVAQv4aXpfl3RHaXREsJ4d6BQaIF1Zm5rr\r\nHG+T0UnaGkbq5EhcDYh1QV1el4ec0WgA2HpqjYZ5edjRYooeCneDJj0kyw5B\r\nwQQx6bZ1AyPAVSB6hksS9IjHeePOsl/TL5/Zc/gozqmD5TgJmcIWDG/XdL4T\r\nMcSUcIA8UNu5Ho/znsVyE7NbyDdofbWqTGtgrBX7dHnefdZgVaKu0o2nPem9\r\nYXp4Q3JOYsQX68XSrqyQ/+AXTKE+++3/T3CDaY567LTxNqqb0FcWpl7vxJMD\r\ngc3F6dNC9MJxxQmSPHVw734j0a1PZCYwR9unjdNeg/EpkkXyxs1Hv4U32chO\r\nNuvjyhxHylHk1WOOHIP55yieYJgwTzWpnmcUaHQhuvG4MjUBKoIwhAnv8J2r\r\nH5/XsbPZEAH865s3t6YIKS5I+Y0WS1in96B6M+efPck54JEfPTyZrPxI/4fh\r\nXiXW+BmdT7oNZQX3psZafmPWKlL927aBD5o=\r\n=dpCe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.1_1667392751496_0.4722138546390451"},"_hasShrinkwrap":false},"0.1.2":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.2","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"ts-standard && c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"f4182706a347ef1664926c1e13c77f86fe3699cc","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.2","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-OpAxwCwKaadi7N7mMJPprg4WCaQerV9xgtNKZbFOPhb2DJEGhXKvHXCjxXERb3lwnN0GFUBl5cw24Fn7ostMHw==","shasum":"eb466e377c8057e944b8f9ce273826de15d291a1","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.2.tgz","fileCount":24,"unpackedSize":4484480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUgtdUGOpra34aHcG6SD24YM+Zl8ZRHcnslHiFdk1jQgIhAIlR9ku5WhdcDjT5kVmZa4nfOM9VPSZQt1Sv8H0jaCYS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYmY1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUNA//Rs7R0AGL1+o3a3ElgtYxCnW57I7+LswgcjOzYHaPWYG30r9s\r\nmB4q4QMjgtNuys6RRd0A9vlbLTEOJmYwr/1Yi/lth+Pxb4lrcapYeGdlAQnE\r\n5s/S3Zqy2fkJ40wZqp4abbgDQ2KcgoAgBOcWEJMVJHyXwSszR8XqUCFAmYmN\r\nWy/TzbqGovQLrmUFXFupjBHdZYirnE6b/H2X/6qiOrbFsk8Ga/t5GXjgD/Fd\r\nAaEMbeIbbTrZoAbTkkilkTIV4B6N8phbR7SHA0L5FdqaQnvPKjouBqZn4+P2\r\nXiiL0hjsLCSwrQOxXcvnf9Hbb73a3HVGM3t9C1ErdVMRYFsRPXNa9bYFOhTS\r\nUfLk2ziHQ3qopC2+e+o5nxro/KjmJ9kdu1my8pxyARTzmMNVQj5gwsfn7QO4\r\nvMdSLh9+N5TJ1EUNcrq+qjiEq6/syxqZZ2afhNvEL1bkxQiBN3Am+NyEyfjY\r\nD7v8WETWmkz1Ep8ubNG8X1GW0qoHFvfu7VgDk3JWP5gb3P1E1lioby1XNCce\r\nNHZukG8eKS/XuN8prx/CGH0/lgEYVXd1jM5y1UO8pAlw8Qy9Hyv+ou6ZGgqZ\r\n9dIKe2d+EGR9Dj3M4rW4xohl/bUUdM2t3wpD2RZKCXhxJENrWb7k7kNZSUDv\r\nQ96mavB/v/bDibTlLBtNOS+JGC+T3DEjDKU=\r\n=2aWj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.2_1667393077040_0.3347473979666482"},"_hasShrinkwrap":false},"0.1.3":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.3","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"ts-standard && c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"438c7b9dff6e8042c5e2330d48196bc49dbdf7d3","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.3","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-fMxDlLQS31F2+RcJk962snkgfPpFcQEUKc9dTjWj6nF604EQyEoaqAkiys0hv4ZHMFBy5GOm54niSS0QXXCHUw==","shasum":"80c1e7d196f4f5ec8975accaeb92bfc373828b55","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.3.tgz","fileCount":24,"unpackedSize":143235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCiUgXnNXm5FAwlvc54Y4IMHIU5CKCH6MWeGL2xAeMT0gIhAMc8v7+DZc6Xdv0dR8hQGNS0roeA78t0x9GaVjxH7M5d"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYmg/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnaA//WmM+MioEftoisGYosFqP0BHmkJ/gbOCn/k1P2WYvLdcjPCcq\r\n1/z1q1aqJIqs1r8M2UM+msqZ/eS+77BE/4jxy6Nh03KhHjU9yY9/Lv0DUmsX\r\nUY2WlaHK3m60+wOzqb7wBZnKPHHlFs9Q8hWWjVfLeD457I1nZrl6mX1EXtSA\r\ngF5qtvUrw3m9fyjw/cR1R7IDDbt0m3yq2yVj0VTeIWqMUxI5sonmfhhfy0mz\r\nnzyF2x3BCzlOSMHSk1eyAx9034yd8enKIw0LAhemKnKbGOEA3zJ8SSYs0lIE\r\nES1d2SxH58/TYHiDx20d4YC2+RkC7Tr7mhrRmHOPCnLiz3aqnI2/TbAzARiI\r\n570AGG5baIn8vTk8GMT270K0RF6tKbm5B96PXRdxMSErweJq1yJTtglfJC1i\r\nW2TCJjy4wmNzRGEVXZHoAgsXHTzk9aIg4C1vV5hfUn9y8zsgMTr5qCC8PYon\r\nPz4vY+kgIxIcDOUD5KVcq4njo0C8lUKL1ngx7Vi0k0I74fbzI9d/hWLwG5b6\r\nAvztMsZHYsOVCfjOEAxi9FzwHlVl4Bg1vRrfTymfmhh+BgO2/LIvmTiTqXKs\r\nt44xgZpdLVF2BemPcY+qlbZZFG/sSDnmYbsXb+Q6Y/3tqy0aYC8CFjO/45em\r\nI1kBkg/R62z1op1TE+Z3R05rPT77FQX7eO4=\r\n=N5as\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.3_1667393598727_0.5575479926737381"},"_hasShrinkwrap":false},"0.1.4":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.4","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"ts-standard && c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"d79e3f40472502d82b26c0c3cde1e36912a34716","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.4","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-J0D48wXVPuIhjvn83M0EAA7DSnPOoslhGNCvy2Mlzxv8E0rBF0nhby+WnOHIb+kge8bn13eNXFYp7uXXruLWoA==","shasum":"12d2915b74ac3248ace1286a9433978e5064b540","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.4.tgz","fileCount":24,"unpackedSize":504506,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCefAoGKJAAdTTxautP/n6L2EzMALVJUrU/RSrCEF8v9wIhAIuEyMQjZeVHXltjsRcNXB5+6RDvoJBOVNAK2drAkOVB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYmoCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKbQ/9HtFyNFwQah+4j1yWOCaVThz/1g8W9Lh5n6/EkhD50W5e9zYL\r\nDyq4tG6shYSvt0gQYZsKnld+MypyXeNK4DdbDll5spOj/4M68SknyvM9ybJU\r\nLenhMad4cugKPJwhWRrbMqlqk+GRnoh0nhOpVfxtfHpHqomTj/MYJCmNmWzY\r\nc2udfEzEW3mC2pTLnUCdol1JhEHwAadoAATX/J7VPCk0gAA27laD7Hh428GL\r\nhFCrjaAFWRHnV+Xp29PQ6TVUN1pwMyugriOcrVZrmPaKuM6I+7bIZAXuRz55\r\nREOQETfiWHAZWX0ykOB2kntIRrY4QmTm0kB0W1k1O/0i/jj+BHKkq7KAI+bq\r\nMApMKMtO0B6hzYCYabasH2YDzW0dQPNFv9l93zl7eRZrDOphqi97Gm2Cmdt6\r\njpOoNdwwzjUQ/KKAryvBnWkhE31cN5C2QmGwL+wLjLVjIMaaLANoSmG+/+fj\r\n1C/4fcf8HZ9xgK4QlFUkCbEVGBT8BHbur2PlYZYbDI+ZzSgjwT5df2qGSk9y\r\n4j8gi2a4WykLKH0tSqigjBRMSG9ufiha8n5zMeoZMTKw9U1ryDi6UOKmVXyy\r\nvXbXVO82mZj4k7uoviSmNkCHZGVEEyL2ktOwKd3zlt1v/5DADfS67oYPGu3Z\r\n00OZFxxPPECqKF7IFAg1fo2tIkwE6r16RtI=\r\n=7HWI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.4_1667394050581_0.5221960185463685"},"_hasShrinkwrap":false},"0.1.5":{"name":"@artesa/multer","description":"Middleware for handling `multipart/form-data`.","version":"0.1.5","contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"main":"dist/index.js","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"keywords":["form","post","multipart","form-data","formdata","express","middleware"],"dependencies":{"@fastify/busboy":"^1.0.0","append-field":"^2.0.0","bytes":"^3.1.0","fs-temp":"^2.0.1","on-finished":"^2.3.0","stream-file-type":"^0.6.1","type-is":"^1.6.18"},"devDependencies":{"@types/bytes":"^3.1.1","@types/express":"^4.17.14","@types/form-data":"^2.5.0","@types/node":"^18.11.9","@types/on-finished":"^2.3.1","@types/type-is":"^1.6.3","c8":"^7.7.3","express":"^4.16.4","form-data":"^4.0.0","get-stream":"^6.0.1","hasha":"^5.2.0","recursive-nullify":"^1.0.0","testdata-w3c-json-form":"^1.0.0","ts-standard":"^12.0.1","vite":"^3.2.2","vite-plugin-dts":"^1.6.6","vitest":"^0.24.4"},"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"prepublishOnly":"npm run build","build":"vite build","test":"c8 --check-coverage --statements 100 vitest run","lint":"ts-standard --fix"},"ts-standard":{"ignore":["dist/","vite.config.ts","test/"]},"types":"./dist/index.d.ts","gitHead":"8813d234eb680373566339c2c141cc5421581741","bugs":{"url":"https://github.com/expressjs/multer/issues"},"homepage":"https://github.com/expressjs/multer#readme","_id":"@artesa/multer@0.1.5","_nodeVersion":"16.13.0","_npmVersion":"8.2.0","dist":{"integrity":"sha512-/SOM4pumwtt35Wz/ndomPeTvZoIvipLybPC7yC1g0WOrlK4B6rkFhqg60gttfQg0bgz7EEx20w7sAT3VhIxqjQ==","shasum":"75daed5273343027dab4356577ecbf89804c6b1c","tarball":"https://registry.npmjs.org/@artesa/multer/-/multer-0.1.5.tgz","fileCount":24,"unpackedSize":565565,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOnLV45XRmRHKWLjeZeVw/85gHeqPnqSRgUnNN8Lo5KAIgF8jhVyisWhk1zvuT6WzWjjEhH8WBP4a/qhv0ZNuIfKY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjaNmBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoa3BAAiWzUfs+TrhZGowrnQbr9brHDG6n/K1HzHhIJ36brF2LLEBCK\r\nt0Fhl4iWe3RUcScvaKzuHsmkRkKDnhBngJVPKhiARQPHcgfx20HvfNcmRAg+\r\nRWxXFQKcGj4mMCGzDygYcLC9hd5NrscgZbhwTAGKuQpCWoPfpn4b9qajzkVj\r\ngnbHait3Tn4RtekAOfdm/6Tvnii9xbnvQv0E6VEYasY4bqAd00E7wDbu8Gjs\r\nJamg1JZ6HLSUBk8W8I7MAMPafC7uFQ5mbInrq9InZ1WQhOp2GAMJv78E+pbE\r\n+afpPqYjWuCb0XiAerWEJPbYl57+3bgrDIEIMILO7w12URZAtFRitt2klzLF\r\nT7Gur2Mtbh+hD5h2NNC7MXAkmVBeA54NKGwultxV91qkbtH6/K3om8dB8nFo\r\ndjXElTOrbTVt0/wBH6+5UxODCdJ8GIz4LOV3c+A5ZGFXMnFQbsB19/x5AD6y\r\nAwbCm2LDEyd38/OsL1lRYyLZvW1ybCYlVrdbdvuAioG1Db5dx75cPsa8mNo5\r\nB6DaebOhPT/Nx7kbVri3+pBrAVvmyr/NhNK1qGvtDFPxYwZWkA/l2zSkWGa+\r\n/r8G04+mjXDg74NvyQLBtrPfJ2VYh0UiQE/6IMDN417a+X939+YBvhHR6fSW\r\njfZocGR9+7DwA+woVaM00ag28kd7NT0jlps=\r\n=u6TL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"fratzinger","email":"f.ashidian@gmail.com"},"directories":{},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer_0.1.5_1667815809189_0.39685360179155116"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-02T09:02:23.914Z","0.1.0":"2022-11-02T09:02:24.385Z","modified":"2022-11-07T10:10:09.471Z","0.1.1":"2022-11-02T12:39:11.669Z","0.1.2":"2022-11-02T12:44:37.340Z","0.1.3":"2022-11-02T12:53:18.982Z","0.1.4":"2022-11-02T13:00:50.843Z","0.1.5":"2022-11-07T10:10:09.346Z"},"maintainers":[{"name":"thenoim","email":"nilsbergmann@noim.io"},{"name":"fratzinger","email":"f.ashidian@gmail.com"}],"description":"Middleware for handling `multipart/form-data`.","homepage":"https://github.com/expressjs/multer#readme","keywords":["form","post","multipart","form-data","formdata","express","middleware"],"repository":{"type":"git","url":"git+https://github.com/expressjs/multer.git"},"contributors":[{"name":"Hage Yaapa","email":"captain@hacksparrow.com","url":"http://www.hacksparrow.com"},{"name":"Jaret Pfluger","email":"https://github.com/jpfluger"},{"name":"Linus Unnebäck","email":"linus@folkdatorn.se"}],"bugs":{"url":"https://github.com/expressjs/multer/issues"},"license":"MIT","readme":"# Multer [![Build Status](https://travis-ci.org/expressjs/multer.svg?branch=master)](https://travis-ci.org/expressjs/multer) [![NPM version](https://badge.fury.io/js/multer.svg)](https://badge.fury.io/js/multer) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\nMulter is a node.js middleware for handling `multipart/form-data`, which is primarily used for uploading files. It is written\non top of [busboy](https://github.com/mscdex/busboy) for maximum efficiency.\n\n**NOTE**: Multer will not process any form which is not multipart (`multipart/form-data`).\n\n## Installation\n\n```sh\nnpm install --save multer\n```\n\n## Usage\n\nMulter adds a `body` object and a `file` or `files` object to the `request` object. The `body` object contains the values of the text fields of the form, the `file` or `files` object contains the files uploaded via the form.\n\nBasic usage example:\n\n```javascript\nimport multer from 'multer'\nimport express from 'express'\n\nconst app = express()\nconst upload = multer()\n\napp.post('/profile', upload.single('avatar'), (req, res, next) => {\n  // req.file is the `avatar` file\n  // req.body will hold the text fields, if there were any\n})\n\napp.post('/photos/upload', upload.array('photos', 12), (req, res, next) => {\n  // req.files is array of `photos` files\n  // req.body will contain the text fields, if there were any\n})\n\nconst cpUpload = upload.fields([{ name: 'avatar', maxCount: 1 }, { name: 'gallery', maxCount: 8 }])\napp.post('/cool-profile', cpUpload, (req, res, next) => {\n  // req.files is an object (String -> Array) where fieldname is the key, and the value is array of files\n  //\n  // e.g.\n  //  req.files['avatar'][0] -> File\n  //  req.files['gallery'] -> Array\n  //\n  // req.body will contain the text fields, if there were any\n})\n```\n\nIn case you need to handle a text-only multipart form, you can use the `.none()` method, example:\n\n```javascript\nimport multer from 'multer'\nimport express from 'express'\n\nconst app = express()\nconst upload = multer()\n\napp.post('/profile', upload.none(), (req, res, next) => {\n  // req.body contains the text fields\n})\n```\n\n## API\n\n### File information\n\nEach file contains the following information:\n\nKey | Description\n--- | ---\n`fieldName` | Field name specified in the form\n`originalName` | Name of the file on the user's computer (`undefined` if no filename was supplied by the client)\n`size` | Total size of the file in bytes\n`stream` | Readable stream of file data\n`detectedMimeType` | The detected mime-type, or null if we failed to detect\n`detectedFileExtension` | The typical file extension for files of the detected type, or empty string if we failed to detect (with leading `.` to match `path.extname`)\n`clientReportedMimeType` | The mime type reported by the client using the `Content-Type` header, or null<sup>1</sup> if the header was absent\n`clientReportedFileExtension` | The extension of the file uploaded (as reported by `path.extname`)\n\n<sup>1</sup> Currently returns `text/plain` if header is absent, this is a bug and it will be fixed in a patch release. Do not rely on this behavior.\n\n### `multer(opts)`\n\nMulter accepts an options object, the following are the options that can be\npassed to Multer.\n\nKey      | Description\n-------- | -----------\n`limits` | Limits of the uploaded data [(full description)](#limits)\n\n#### `.single(fieldname)`\n\nAccept a single file with the name `fieldname`. The single file will be stored\nin `req.file`.\n\n#### `.array(fieldname[, maxCount])`\n\nAccept an array of files, all with the name `fieldname`. Optionally error out if\nmore than `maxCount` files are uploaded. The array of files will be stored in\n`req.files`.\n\n#### `.fields(fields)`\n\nAccept a mix of files, specified by `fields`. An object with arrays of files\nwill be stored in `req.files`.\n\n`fields` should be an array of objects with `name` and optionally a `maxCount`.\nExample:\n\n```javascript\n[\n  { name: 'avatar', maxCount: 1 },\n  { name: 'gallery', maxCount: 8 }\n]\n```\n\n#### `.none()`\n\nAccept only text fields. If any file upload is made, error with code\n\"LIMIT\\_UNEXPECTED\\_FILE\" will be issued. This is the same as doing `upload.fields([])`.\n\n#### `.any()`\n\nAccepts all files that comes over the wire. An array of files will be stored in\n`req.files`.\n\n**WARNING:** Make sure that you always handle the files that a user uploads.\nNever add multer as a global middleware since a malicious user could upload\nfiles to a route that you didn't anticipate. Only use this function on routes\nwhere you are handling the uploaded files.\n\n### `limits`\n\nAn object specifying the size limits of the following optional properties. Multer passes this object into busboy directly, and the details of the properties can be found on [busboy's page](https://github.com/mscdex/busboy#busboy-methods).\n\nThe following limits are available:\n\nKey | Description | Default\n--- | --- | ---\n`fieldNameSize` | Max number of bytes per field name | `'100B'`\n`fieldSize` | Max number of bytes per field value | `'8KB'`\n`fields` | Max number of fields per request | `1000`\n`fileSize` | Max number of bytes per file | `'8MB'`\n`files` | Max number of files per request | `10`\n`headerPairs` | Max number of header key-value pairs | `2000` (same as Node's http)\n\nBytes limits can be passed either as a number, or as a string with an appropriate prefix.\n\nSpecifying the limits can help protect your site against denial of service (DoS) attacks.\n\n## Error handling\n\nWhen encountering an error, multer will delegate the error to express. You can\ndisplay a nice error page using [the standard express way](http://expressjs.com/guide/error-handling.html).\n\nIf you want to catch errors specifically from multer, you can call the\nmiddleware function by yourself.\n\n```javascript\nconst upload = multer().single('avatar')\n\napp.post('/profile', (req, res) => {\n  upload(req, res, (err) => {\n    if (err) {\n      // An error occurred when uploading\n      return\n    }\n\n    // Everything went fine\n  })\n})\n```\n","readmeFilename":"README.md"}