Accepts all files that comes over the wire.
Accepts all files that comes over the wire. An array of files will be stored in req.files.
Accept an array of files, all with the name fieldname.
Accept an array of files, all with the name fieldname. The array of files will be stored in req.files.
array(fieldname[, maxCount])
Accept an array of files, all with the name fieldname.
Accept an array of files, all with the name fieldname. The array of files will be stored in req.files.
the name field name
array(fieldname[, maxCount])
Accept an array of files, all with the name fieldname.
Accept an array of files, all with the name fieldname. The array of files will be stored in req.files.
the name field name
Optionally error out if more than maxCount files are uploaded.
array(fieldname[, maxCount])
Accept a mix of files, specified by fields.
Accept a mix of files, specified by fields. An object with arrays of files will be stored in req.files.
should be an array of objects with name and optionally a maxCount.
fields(fields)
Accept a single file with the name fieldname.
Accept a single file with the name fieldname. The single file will be stored in req.file.
the name field name
Multer Instance