0.4.0 • Published 1 year ago

@teojs/all-in-oss v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@teojs/all-in-oss

整合各家对象存储服务的接口

目前只整合了阿里云、华为云的对象存储服务,后续会整合其他对象存储服务。

如何使用

安装

pnpm add @teojs/all-in-oss

使用

<script setup lang="ts">
  import useOSS, { aliyun } from '@teojs/all-in-oss'

  const oss = useOSS(aliyun, {
    region: '<your-region>',
    bucket: '<your-bucket>s',
    accessKeyId: '<your-accessKeyId>',
    accessKeySecret: '<your-accessKeySecret>',
    stsToken: '<your-stsToken>',
  })

  const res = await oss.client?.multipartUpload(name, file.file)
</script>
0.4.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago