aliyun-oss-react-native-fix-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

aliyun-oss-react-native-fix-wrapper

Offer addition functionality to operate images in aliyun cloud base on aliyun-oss-react-native-fix-further

Installation

npm install aliyun-oss-react-native-fix-wrapper

Usage

import {uploadImagesToAliCloud} from "aliyun-oss-react-native-fix-wrapper";

// ...

const uploadedImageNames = await uploadImagesToAliCloud(
  [
    {
      name: '1.png',
      path: 'yourPath',
    },
    {
      name: '2.png',
      path: 'yourPath',
    },
  ],
  {
    AccessKeyId: 'YourAccessKeyId',
    AccessKeySecret: 'YourAccessKeySecret',
    SecurityToken: 'YourSecurityToken',
    bucketName: 'YourBucketName',
    endpoint: 'YourEndpoint',
    folder: 'YourFolder',
  }
);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i aliyun-oss-react-native-fix-wrapper

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

19.9 kB

Total Files

9

Last publish

Collaborators

  • deepcodestudio