progress-stream
progress-stream copied to clipboard
Progress-stream + multer
Do you know how to use this library with multer? I've found an example, but it doesn't work for me:
app.post('/upload', function (req, res, next) { var p = progress(); req.pipe(p); p.headers = req.headers; p.on('progress', function (status) { console.log(status); }); upload(p, res, function (err) { res.send('Successfully uploaded files!') }); });
Thanx!