@wings-j/oss-upload
v1.2.2
Published
OSS上传工具
Downloads
6
Readme
oss-upload
OSS 上传工具。
将本地的目录和文件同步到 OSS。
使用方法
安装:
npm install --save-dev @wings-j/oss-upload
运行函数:
import ossUpload from '@wings-j/oss-upload'
ossUpload({
region: 'oss-cn-hangzhou',
accessKeyId: '权限凭证ID',
accessKeySecret: '权限凭证密钥',
bucket: '仓库命',
remoteBase: '远程基地址(可为空)',
localBase: '本地基地址'
})