An Uploadcare storage engine for multer
npm i --save multer-storage-uploadcare
'use strict'
const uploadcareStorage = require('multer-storage-uploadcare')
const multer = require('multer', {
storage: uploadcareStorage({
public_key: YOUR_UPLOADCARE_PUBLIC_KEY,
private_key: YOUR_UPLOADCARE_PRIVATE_KEY
store: 'auto' // 'auto' || 0 || 1
})
})