{"library":"multer-autoreap","type":"library","category":null,"description":"multer-autoreap is an Express middleware designed to automatically clean up temporary files uploaded to disk by `multer` or other `multipart/form-data` parsing middleware. Upon completion of an HTTP request (either success or error, configurable via `reapOnError`), the middleware identifies and deletes files referenced in `req.files` or `req.file` that were stored in temporary locations. The current stable version is 1.0.3, with releases being infrequent but focused on stability and compatibility fixes, particularly with newer Node.js versions and Multer core changes. Its primary differentiator is the immediate, request-lifecycle-driven cleanup, offering a more responsive alternative to age-based file reaping solutions and mitigating potential disk space exhaustion vulnerabilities inherent in handling file uploads.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","multer","multipart","form-data","express","middleware","gc","reap","reaper"],"install":[{"cmd":"npm install multer-autoreap","imports":["const autoReap = require('multer-autoreap');","const autoReap = require('multer-autoreap');\nautoReap.options.reapOnError = true;"]},{"cmd":"yarn add multer-autoreap","imports":[]},{"cmd":"pnpm add multer-autoreap","imports":[]}],"homepage":null,"github":"https://github.com/joelabair/multer-autoreap","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/multer-autoreap","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/multer-autoreap/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}