@wings-j/oss-upload

1.2.2 • Public • Published

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: '本地基地址'
})

Readme

Keywords

none

Package Sidebar

Install

npm i @wings-j/oss-upload

Weekly Downloads

2

Version

1.2.2

License

GPL-3.0-or-later

Unpacked Size

15.9 kB

Total Files

9

Last publish

Collaborators

  • wings-j