{"_id":"multer-autoreap","_rev":"67-bb1b32372afabb5b87a77949284b1f8b","name":"multer-autoreap","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"multer-autoreap","version":"0.0.1","description":"Express middleware for auto cleanup (reap) uploaded files by multer or any multipart middleware propagating req.files.","main":"index.js","scripts":{"test":"echo \"No tests included.\""},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","reap","multipart","unlink"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~0.8.1"},"_id":"multer-autoreap@0.0.1","dist":{"shasum":"e0478b3e415b12fa20f021da2193c18994d17f85","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.1.tgz","integrity":"sha512-Y6GvoXixWdeszaz3/xw9zS+f3kToVq4W95/65uRyE4jMSFR4IYpTcM7YS/xVd/SnF+Ktdl++roiJ5JH5oDnjqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID9zauBZdblvBo+Mm00Avg5QtJPfdWSSbmgNhsni72+QAiEAqLwKq1apg4jdI1FET8GO27XcqhrticYnAVAl6sYKTL4="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.2":{"name":"multer-autoreap","version":"0.0.2","description":"Express middleware for auto cleanup (reap) uploaded files by multer or any multipart middleware propagating req.files.","main":"index.js","scripts":{"test":"echo \"No tests included.\""},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","gc","reap","reaper","tmp","multipart","form-data","unlink","connect","express","middleware"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~0.8.1"},"_id":"multer-autoreap@0.0.2","dist":{"shasum":"6d956a0f1cec9e09fe516977e44bbb4b08a5066b","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.2.tgz","integrity":"sha512-GbHQNuuHVCknVk15mmANAejvH3b39gkSG4RyRyELN9hi0SPs1acc9ndqYgUhhyHXmgyJGsTLWsQZxIsDAJpRhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHHuoq/8VVPvfBOnz2Mqm3U10cfnq6ARjcLI05HB8Ty3AiAkJE+G1gnZbUoo6LlSDEyo9sp//ZCcsttFsMtjxv9Evw=="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.4":{"name":"multer-autoreap","version":"0.0.4","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"echo \"No tests included.\""},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~0.8.1"},"_id":"multer-autoreap@0.0.4","dist":{"shasum":"d4ead6d570f1cc27b4c30297f9428d0e8c77ccb0","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.4.tgz","integrity":"sha512-UlCyu3im5eltOMXlvGipNaDs+qYPhvM23w5T0rYzTtvpL1kfSU0ahIiGGhm2lZxGu1ODoCP0UaG+YYvgE7EM/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjBUblCyWsEAUaY6g/9xFN/2lspYkZeb5mB6a4NOBhAAiBcbIhzcwYxk0R5yc+FdPEb3bKJ0UoKnn2i0tcgJ6TicQ=="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.6":{"name":"multer-autoreap","version":"0.0.6","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~0.8.1"},"devDependencies":{"chai":"*","mocha":"*","supertest":"*","express":"*","multer":"*"},"_id":"multer-autoreap@0.0.6","dist":{"shasum":"ae41f6cf8d3689b8eca84bdadbe7d06150d583df","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.6.tgz","integrity":"sha512-p7QkGGMEFy3VGMowz3w1eVv8gn7diXP+xfLw6DBB9koqEimSe4XsMFXLUU5mBEhKdWM1EZ83e4skTAXVy7xjdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx5z1a/9eT314aspM6R8izns1hj71cEH5Y5M1ROSgnEQIhAPrsLV/ch6cAAD/N9cssylH3CWVP77+8envKJazwDXgx"}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.7":{"name":"multer-autoreap","version":"0.0.7","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~1.0.2","finished":"~1.2.2"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.20.1","supertest":"~0.13.0","express":"~4.4.4","multer":"~0.1.0"},"_id":"multer-autoreap@0.0.7","dist":{"shasum":"e401051e2a2af4c50dbda95f5b43b2f1c32b49f6","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.7.tgz","integrity":"sha512-vjILedJqto6SBugyo1/QLVWtBEksIM/9kOttwLiQFbV0PwngShh72LilamepV/v0sgdj3zZFGhSJfbH+sPxD1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT9g9y+E5r0XRxvQLLgAjGkudLx6qjSl41kgB5cPqCMwIhANUug9S41HDNtUMCMfcvacFRIA9H2aJnLMFd6pgJt4tq"}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.8":{"name":"multer-autoreap","version":"0.0.8","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~1.0.2","finished":"~1.2.2"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.20.1","supertest":"~0.13.0","express":"~4.4.4","multer":"~0.1.0"},"_id":"multer-autoreap@0.0.8","dist":{"shasum":"376b27dd337cee96e3a0398a3fab16c17f1ecfd3","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.8.tgz","integrity":"sha512-gA7tkwoTzjZi9cu4moz62y7TzRRjHAv9LfNJeFL1xjy/QKF6F4Y2eJIFHRcesG3t7bzqtqe7aD6ijXbQ0FmxJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAW4LcLYGmmf6KV7H8dEz872pkJkeV+U4INMw+wJW1qYAiEA4OlmC4V+4VGsE17OJfQaStlq/A+nhILjzNdEjBINM/A="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.0.9":{"name":"multer-autoreap","version":"0.0.9","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~1.0.2","finished":"~1.2.2"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.20.1","supertest":"~0.13.0","express":"~4.4.4","multer":"~0.1.0"},"_id":"multer-autoreap@0.0.9","dist":{"shasum":"0ee871ee1a7e91efc688d62058d1d316d0fe4d5a","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.0.9.tgz","integrity":"sha512-U7ZNAgF+qkdT4ea9WR/Y7//rC+ypsRN0IMJu3q3jjBEWQHqBpOV0rjQV8qbepLtfXFNdLGri90SP1PpHf/EwjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBZPz7Fzx3jhxcvt++3nVn2OO/GVEba6tbGeCPRMPD5mAiBL0ah7zJY3pNLQbBGDOd1WTI12luMcvHWRznecWQk3xA=="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{}},"0.1.0":{"name":"multer-autoreap","version":"0.1.0","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~1.0.2","finished":"~1.2.2"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.20.1","supertest":"~0.13.0","express":"~4.4.4","multer":"~1.1.0"},"_id":"multer-autoreap@0.1.0","dist":{"shasum":"e4a9a86da867e6c3ba210ba8d1e974c1ebb2ee6d","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.1.0.tgz","integrity":"sha512-p7bsnoWkYS96DoFxyp1ZLnJ6XxNjMLcspOpT9PALoifuBtqkWqQlikqqEskUBht3Pir9amUnFKZbEV2BmqYj9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjqDM9BiEH73egl2bbL0PwZW73vae/opnWEWthlIDFxgIgP5OD0iHtSSFEk5Y3iq5I+yJ/AX0/IjO2aYc7SjOekA8="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/multer-autoreap-0.1.0.tgz_1461604075096_0.3776764706708491"},"directories":{}},"0.1.1":{"name":"multer-autoreap","version":"0.1.1","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"license":"GPLv3","bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"~1.0.2","finished":"~1.2.2"},"devDependencies":{"chai":"~1.9.1","mocha":"~1.20.1","supertest":"~0.13.0","express":"~4.4.4","multer":"~1.1.0"},"_id":"multer-autoreap@0.1.1","dist":{"shasum":"9e6fa7e517aa2539a5538831190db0f8be9b9179","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.1.1.tgz","integrity":"sha512-svn/huVOceXWEobPwu8efdTLchqo2OmCmCxMnZw75a1PQl3+iVq+zbbL+EigfqCPf06I6r7aIR13NyHtQJKitw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+SL7obrSip8PlPd2/BMtfj6FTB3WEDJKUDq/CR0jevAiAwAMIV3kn1SwNncAQxKhoI3ARktou6+2by6UeTJWgWnA=="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multer-autoreap-0.1.1.tgz_1468536025266_0.8307277844287455"},"directories":{}},"0.1.2":{"name":"multer-autoreap","version":"0.1.2","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"GPLv3","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"^2.2.0","finished":"^1.2.2"},"devDependencies":{"chai":"^3.5.x","express":"~4.4.4","mocha":"^3.0.2","multer":"^1.2.0","supertest":"^0.15.0"},"gitHead":"9acf600dcd53b535304645f6f97cc7f4c4945b7c","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@0.1.2","_shasum":"39846751a2de95b0d169ec8997f1176c7b2cf990","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"dist":{"shasum":"39846751a2de95b0d169ec8997f1176c7b2cf990","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.1.2.tgz","integrity":"sha512-pK/w2q3Rw1oL0haXID5RSsE8DsiuaytkS7un/yjYAP2KfgyS/5vSZwUAYe2sr7zAwsG8wIcsygjCA3PPiQbTIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfgxnI8r4voQ+PrUUviPxvi0qW00WOWyQT0DzmyCl0DwIhAINEhC6IAxN0X7sgfW5MirYFhxylQXBXIG5jFFNDkKld"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/multer-autoreap-0.1.2.tgz_1474912544330_0.9727286805864424"},"directories":{}},"0.1.3":{"name":"multer-autoreap","version":"0.1.3","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"GPL-2.0+","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"^2.2.0","on-finished":"^2.3.0"},"devDependencies":{"chai":"^3.5.x","express":"~4.4.4","mocha":"^3.0.2","multer":"^1.2.0","supertest":"^0.15.0"},"gitHead":"1a7892d276ecb30f9548e45b30b133c2efbda031","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@0.1.3","_shasum":"5f222423c73e3cd88610d54ddae087e97e967564","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.2","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"dist":{"shasum":"5f222423c73e3cd88610d54ddae087e97e967564","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-0.1.3.tgz","integrity":"sha512-AwOyZimkKOtp5PZ6Xc6RjZccIYILJvV64hq+LOaECQ0/ixfBLW1sypdm5hmEsKVMZhIwV0CGGBNGU0RGaWCFtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBVqEz7SLtCj8EfiXOqpGyS5cCmWNEFCnsvgy9bmw07AiEA1qbsZtHoGb4kmPS04O9F+DKPFr7rZnNZlmVe/FWRHLU="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/multer-autoreap-0.1.3.tgz_1485456898881_0.10321275005117059"},"directories":{}},"1.0.0":{"name":"multer-autoreap","version":"1.0.0","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"GPL-2.0+","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"^3.1.0","on-finished":"^2.3.0"},"devDependencies":{"chai":"^4.1.2","express":"^4.16.3","mocha":"^5.0.4","multer":"^1.3.0","supertest":"^3.0.0"},"gitHead":"6bf480dedf43cd616eb3c70a6c96c3a26db2c9de","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"dist":{"integrity":"sha512-ESZ9IgQ2ZpFUrWyTf8DtK2fDzvmM2ujjXNOx2e/Xxfhmjocv/ItWuur3aVWv3NdFeEGCoduBSrKlrALbMQjwfg==","shasum":"bd4c1af562052be2fc69bcf38a3b38832b11ffd7","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-1.0.0.tgz","fileCount":7,"unpackedSize":20984,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPN74bPU9KzyDkgh+gehmzy3NLMS4UFiAWbZkmqCkUDAIhALmEROAZe5UFIgKPeavuqTvfT/ayCumeWNql0E48dDJU"}]},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer-autoreap_1.0.0_1521669578211_0.9925763325772134"},"_hasShrinkwrap":false},"1.0.1":{"name":"multer-autoreap","version":"1.0.1","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"GPL-2.0+","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"dependencies":{"debug":"^3.1.0","es6-object-assign":"^1.1.0","on-finished":"^2.3.0"},"devDependencies":{"chai":"^4.1.2","express":"^4.16.3","mocha":"^5.0.4","multer":"^1.3.0","supertest":"^3.0.0"},"gitHead":"b86536a65064a2dcde301fa26c34186cf4009a69","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"dist":{"integrity":"sha512-9LjXeTKzzJ0/onWSOlGeEf49lE1GVfEJdtm39XMtUuHMrSbDaf34d33Qqd4zhorYf9liZhGYFlBqFHbu4SPI+w==","shasum":"9a1aac9309e05e54a0882062adb1c27f8ac33c01","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-1.0.1.tgz","fileCount":10,"unpackedSize":27696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT4opCRA9TVsSAnZWagAA35kP/31lSNX1hpON4gEdqhAw\n1KWcJJQLuzKh26TEBAIbUMMWMtTLtq/jnTzhiHN8x+H7NUWdIBgswGoZdStH\nM8D9ZLotrXI5gh+E1kxPAUshDgEHD82yl878c+kaYn9EmHq78FkZnVSGHgb2\noKnP1v2/WykPOPptYRTIB8Yt/Id+T6BrbqqxDI0LwDBF8Ww0TOzuEVbJ2545\nvmwegxTJZZwaHlHbXtdZxawJ20ri6P0CBdV4eeLPWSVFEi3IDQHRgwhztM1X\nKB/+2+sVf63BCLvJQH/YhUXH9tXhpBHCMop9pUC7++pKVEQF58qstMHdnFFt\nrGdet3WuVLq5ueMSVEqXoEsxHO2/O3RCPt7Sq7A79r8j9Ix12IGGCluQxN6J\nONQx5zC+Mr2g7/J4XhfDGY6mkO4yRtIENORqIlMV+sfXfysx/nwK90Gu30dj\np7MJ0doMu3VtRrAvjmXLLc0qSJI5fHnPITw5C96j3QOqkDisgLXHxIbEVChl\nPl9xGu7HcRW928fjjEF+LanwHc26R9iRAMbyJcyMJuu2KGyQxDPsuUQHyF3d\nHZG56b/ug7AocMlO+mPmQzg6R7FLMKhNTIGvUY3Xt6nVAq6XvhmllwpuOHQN\n91KBhF4NyDwK3y0NMZFGG5+qwOkQ1S5rtJCecetHIU1IWM0IVR/Mhpp0bQEG\nX4Uw\r\n=W3va\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdg87Kl6nJ+FUfHO1UfeO9h0bVh7piTAgB8mTPExx0/wIhAKyjaRaSgbWUXv2TKvUxHuQXNo7QdL14bGQgT79ew3gz"}]},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer-autoreap_1.0.1_1531939369247_0.49181068879698486"},"_hasShrinkwrap":false},"1.0.2":{"name":"multer-autoreap","version":"1.0.2","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"GPL-2.0+","main":"index.js","scripts":{"lint":"jshint .","test":"mocha --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha --check-leaks test/"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"engines":{"node":">= 0.8"},"peerDependencies":{"express":"^4.16.3","multer":"^1.3.0"},"dependencies":{"debug":"^3.1.0","es6-object-assign":"^1.1.0","on-finished":"^2.3.0"},"devDependencies":{"mocha":"^5.0.4","chai":"^4.1.2","supertest":"^3.0.0","jshint-esnext":"^2.7.0-3","istanbul":"0.4.5"},"gitHead":"26928a17c68772bd35ba1c174647b562779c3894","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"dist":{"integrity":"sha512-jh2x7DwnRgeJAOl59LuUet10OVDdUB59RCOczfnmLtgfsvysope8CFPkOR/2pqFigTyjsvtFLEu8joS6ALW4pA==","shasum":"fe7064a70f5f49b00f4e65b9daf2a7bc93a0780f","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-1.0.2.tgz","fileCount":12,"unpackedSize":28147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbT5b2CRA9TVsSAnZWagAARfMP/05fS7OGHM0TuB+rPljG\n3psSoTs+tdA+V7WVnZ1OPFX3x4bxweDy4IFYyeFVBgUiB8zty4UZV9Ehp0WA\ngQCgJPYUM6/qqoN2toBIEfrNGUJ2F2dAW9Iihi336PIRlgBOd9/SHOnV/C10\neSTmNXdqxhNpXjGSmMrmnO3IgxJgq7y61832FEnzGeoRjp9R/kgbASV6wv9J\niseBfNQWbchtsvjzYJsHOj1U274O7IBAJjd4MbTmgjtncgtjW/BTmXKg4SfD\nnEbzDbgthpW9g2GwUStk2SQhWbeQg2VckcMuinIT2sm3vPXzWbder0mHL4t3\nrhAolW7iVHWcUMCLdqOERMcWSrzBfy+MshfBciJnTrT9W2t9biUNKXtj6+16\ncIqZ9uBW9cHVkRXTcUyzLFzZRa+8PR4DSpnEbwHdAGuTb/JC+uvj6pc/vHzy\nWenCl438QKqZcsfSYyRM8RBVVmEssWd7Ny/wMuluT34N0u8oRsev8y4qi/Ck\nTuu2hyDizyd+im9R2bNwVSsiDu5lkgAhotzNOwlwafgj90ArVFyC583lcDPL\nkWhMpgycWhNX3846ViCUXhF5ef0AVkHyjMJlPptngCFzatmtlJCYHSlbA7hr\nfefczQpHI+tvwUIJASae51oglEWXGeVTPh7KPxUsIYWhM3yeDVAJcKAJhiBw\ny5Z1\r\n=zL1L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpWrxaorK+7WOqe5qksWYAbYpdpUwEMcj/j5fcQZqPAwIgECA8nT2PEOMaPM0K87fbw/tbzpfwJZw4b+ya818XLEA="}]},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer-autoreap_1.0.2_1531942646715_0.03546731415489779"},"_hasShrinkwrap":false},"1.0.3":{"name":"multer-autoreap","version":"1.0.3","description":"Connect middleware providing auto gc of tmp uploaded files by multer or any multipart middleware.","license":"MIT","main":"index.js","scripts":{"lint":"jshint .","test":"mocha --check-leaks test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha --check-leaks test/"},"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"engines":{"node":">= 0.8"},"peerDependencies":{"express":"^4.16.3","multer":"^1.3.0"},"dependencies":{"debug":"^3.1.0","es6-object-assign":"^1.1.0","on-finished":"^2.3.0"},"devDependencies":{"mocha":"^5.0.4","chai":"^4.1.2","supertest":"^3.0.0","jshint-esnext":"^2.7.0-3","istanbul":"0.4.5"},"gitHead":"5f43ea0838a7fd8f4ad8dca867e51dc1f7a25813","homepage":"https://github.com/joelabair/multer-autoreap#readme","_id":"multer-autoreap@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"joelbair","email":"joel.a.bair@gmail.com"},"dist":{"integrity":"sha512-g0wISfylN2bchQglyAgQTIHoiLUcYQTXKmQh+fKJpheGay9aDqHmcMYRwWRNJ+tK95j9/NZ5QNFkqRytrgw34g==","shasum":"a50aaeb713fa9407ac940807f6c112c6ce9df280","tarball":"https://registry.npmjs.org/multer-autoreap/-/multer-autoreap-1.0.3.tgz","fileCount":12,"unpackedSize":21587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsOq1CRA9TVsSAnZWagAAsCoP/3fdSkgmnJDm6f7B+9H/\nSHDs72kzpIdHQXC955hcUmO+er1A1ICn901J71fb1+kwEFogmoljzsiUC0gs\nUsaUsRMYhRORCSv++p6ZJtcvGP2zKlR4dv4mmcJVknZBvNM4hNS8BzHZM+0E\ntjaYqV1llG8P82TqLRie/lHdlCzwoxe04Dmpw1G4eAiNRZoJqvtRniaRXBzM\nHpTfDVBTuTZ7u+j1TMG+FThT7t8GqDmjH6F3AQklc+PWlsTe7tVW7yZWP/Ue\nrNTZznSNcoy10lJcP3RCXaOUiWXBn1hbEZdAoL4IMzor1OEyCKdhbTZnabPR\nM2EtNmvHM9gZAoJlJ6esxpZnwY9NztD5wmq+zmzBnUYZldZyMedjvqohvWZX\n3lKCLU9+I+yVkCsfAZ2xYIHWpHkjFVNOqJl8EFzZka92JrQXeWL7k6nNECvY\nO/kj0H2T8pmTr2lY8+1xBzt0a8qv3daglZL5mWRgJgcggSJk5X8xLorN31VN\nxit8rHQvcSRbi7yj4suWZRGklP9M4on3OjTbyUnNi2IAWqUtfrHsJVrmebRm\nVfTSFtdBrgzUrenvfGPgnyoSZlwnUkMvHJSjSWRt6lt+fWKcIIT9q+bUZG20\nhthHxP6Bm1TE6mdWYwutIHqijcwFEdMGYPv7zS0kfR3fH285+sVhdJw/se9K\nouNF\r\n=wPiE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEi71749Xudw8AR0+ptd+nsF0oDKYfx23sbQKlGYAoJAIhANtRNeWtEIS4s57I6b/1oaBhbbxkIQSiwY0b9ehX0OBW"}]},"maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multer-autoreap_1.0.3_1538321077108_0.6871208462299521"},"_hasShrinkwrap":false}},"readme":"multer-autoreap\n===============\n\nExpress middleware for reaping uploaded files saved to disk by multer or any multipart middleware propagating the req.files object.  The middleware will automatically remove any uploaded files left in their temporary location upon response end or close.\n\n\n#### Installation\n\n`$ npm install multer-autoreap`\n\n\n\n#### Usage\nas app middleware\n```js\nconst express = require('express');\nconst multer  = require('multer');\nconst autoReap  = require('multer-autoreap');\n\nlet app = express();\napp.use(multer({ dest: '/tmp/' }));\napp.use(autoReap);\n...\n```\n\nor attaching to a route / router.\n\n```js\nconst express = require('express');\nconst router = express.Router();\n\nconst multer  = require('multer');\nconst autoReap  = require('multer-autoreap');\n\nlet app = express();\napp.use(multer({ dest: '/tmp/' }));\n\napp.route('/upload-a').post(autoReap, function(req, res, next) {\n\tres.on('autoreap', function(file) {\n\t\tconsole.log('auto-reaped: ', file);\n\t});\n\n\tres.send('ok');\n});\n\nrouter.use('/upload-b', autoReap, function(req, res, next) {\n\tres.on('autoreap', function(file) {\n\t\tconsole.log('auto-reaped: ', file);\n\t});\n\n\tres.send('ok');\n});\n...\n```\n\n[Multer](https://github.com/expressjs/multer) is an efficient `multipart/form-data` handling middleware that uses [busboy](https://github.com/mscdex/busboy).  Files encoded in a miltipart request body are piped to a temporary upload location (def: multer options dest ).  This can have the effect of leaving open an attack vector where disk space can be consumed by these temporary files.  Its prudent and generally good form to clean them up.  While [reap](https://github.com/visionmedia/reap) cleans based on age, multer-autoreap cleans them up as soon as the request is done.\n\n#### Options\n\n```js\nautoReap.options = {\n\treapOnError: true\n};\n```\n* *reapOnError* (boolean) - If an error occurs, continue reaping the file, or no.\n```js\nvar autoReap  = require('multer-autoreap');\nautoReap.options.reapOnError = false;\n```\n\n\n#### Events\nThe middleware will emit an 'autoreap' event on the Response object when removing files.  The event will include the original file object from req.files[].\n```js\nres.on('autoreap', function(reapedFile) {\n\tconsole.log(reapedFile);\n});\n```\n\nPlease report any issues...\n","maintainers":[{"name":"joelbair","email":"joel.a.bair@gmail.com"}],"time":{"modified":"2022-12-19T11:49:01.083Z","created":"2014-05-28T15:29:15.169Z","0.0.1":"2014-05-28T15:29:16.212Z","0.0.2":"2014-05-28T15:38:07.483Z","0.0.3":"2014-05-28T15:39:49.098Z","0.0.4":"2014-05-28T15:49:45.166Z","0.0.5":"2014-06-21T18:00:05.868Z","0.0.6":"2014-06-21T18:23:50.838Z","0.0.7":"2014-06-26T03:05:29.213Z","0.0.8":"2014-06-26T15:07:57.368Z","0.0.9":"2015-06-17T18:34:08.857Z","0.1.0":"2016-04-25T17:07:57.010Z","0.1.1":"2016-07-14T22:40:27.877Z","0.1.2":"2016-09-26T17:55:46.219Z","0.1.3":"2017-01-26T18:54:59.440Z","1.0.0":"2018-03-21T21:59:38.279Z","1.0.1":"2018-07-18T18:42:49.307Z","1.0.2":"2018-07-18T19:37:26.802Z","1.0.3":"2018-09-30T15:24:37.213Z"},"readmeFilename":"README.md","keywords":["multer","multipart","form-data","express","middleware","gc","reap","reaper"],"repository":{"type":"git","url":"git+https://github.com/joelabair/multer-autoreap.git"},"author":{"name":"Joel A. Bair","email":"joel.a.bair@gmail.com"},"bugs":{"url":"https://github.com/joelabair/multer-autoreap/issues"},"license":"MIT","users":{"joelbair":true,"icognivator":true,"cognivator":true,"apatsekin":true},"homepage":"https://github.com/joelabair/multer-autoreap#readme"}