multer-fdfs
v1.0.0
Published
multer storage engine for fastdfs
Downloads
7
Readme
Multer Storage for Fastdfs
Install
npm install --save multer-fdfs
Usage
const multer = require('multer');
const MulterFdfsStorageEngine = require('multer-fdfs');
const upload = multer({
storage: MulterFdfsStorageEngine({
config: {
trackers: [
{host:'127.0.0.1', port: 12122}
],
timeout: 10*1000,
defaultFileExt: 'txt'
}
})
});
Author
© Samuel