{"library":"express-fileupload","type":"library","category":null,"description":"express-fileupload is a straightforward middleware for the Express.js framework, designed to simplify handling multipart/form-data for file uploads. It acts as a wrapper around the `Busboy` parser, exposing uploaded files via `req.files` for easy access. The current stable version is 1.5.2, with minor releases and bug fixes occurring relatively frequently to address issues and introduce small features like custom loggers or hash algorithm options. Key differentiators include its simple API that provides a `mv()` function for relocating uploaded files, direct access to file properties (name, mimetype, size, data buffer), and an option to utilize temporary files on disk instead of memory, which is beneficial for handling large uploads efficiently. The middleware is actively maintained and offers robust handling of file streams.","language":"javascript","status":"active","version":"1.5.2","tags":["javascript","express","file-upload","upload","forms","multipart","files","busboy","middleware"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-fileupload","imports":["import fileUpload from 'express-fileupload';","app.use(fileUpload({ useTempFiles: true, tempFileDir: '/tmp/' }));","// In a TypeScript project:\nimport { UploadedFile } from 'express-fileupload';"]},{"cmd":"yarn add express-fileupload","imports":[]},{"cmd":"pnpm add express-fileupload","imports":[]}],"homepage":null,"github":"https://github.com/richardgirges/express-fileupload","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-fileupload","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/express-fileupload/compatibility"}}