Installation
npm i filerup
Init
var filerup = app;
Usage
app// returns: {// path: array of paths of files stored,// report: a report object of booleans on filters if a filter does not pass it is set to false// }
Options
- fields: fields if you want to restrict fields from form
- types: list of accepted types
- dist: destination folder
- maxSize: maximum file size
- together: store files together, if one of them is not valid don't put it