express-fileuploader-oss
OssStrategy
for express-fileuploader. Use this strategy to upload files to aliyun OSS(Open Storage Service).
Install
npm install express-fileuploader-oss --save
Usage
var http = ;var express = ;var mutilpart = ;var uploader = ;var OssStrategy = ; var app = ;app; uploader; app; http;
Options
- uploadPath file destination path
- clientOptions OSS client options
- accessKeyId access key
- accessKeySecret access key secret
- host your bucket host
- bucket your bucket name