O'Reilly logo
  • Ryan Masten thinks this is interesting:

app.use(bodyParser({ uploadDir:path.join(__dirname, 'public/upload/temp') }));

From

Cover of Web Development with MongoDB and NodeJS - Second Edition

Note

requires multer version 0.1.8 or older