Multer-Storage-qiniu
Qiniu Multer Storage Engin
Multer Storage Engine that uses Qiniu as a storage system. Uses an offical Qiniu SDK.
Installation
npm install multer-storage-qiniu
Dependencies
- qiniu - for communication with the qiniu
- crypto - for generating a pseudo random filename if one is not provided
- path - for precise paths handling
Usage
Multer-Storage-Qiniu follows the naming convention set by an existing DiskStorage storage engine that comes with multer.
var multer = ;var qiniu = ;var storage = ;var uploadMiddleware = ; app;