multer-storage-uploadcare
v3.0.1
Published
a multer storage engine for uploadcare
Downloads
104
Readme
multer-storage-uploadcare
An Uploadcare storage engine for multer
Installation
npm i --save multer-storage-uploadcare
Usage
'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
})
})