How to use the ali-oss.version function in ali-oss

To help you get started, we’ve selected a few ali-oss examples, based on popular ways it is used in public projects.

github ali-sdk / ali-oss / example / src / main.js View on Github external
}).then((result) => {
      const creds = result;
      const client = new OSS({
        region,
        accessKeyId: creds.AccessKeyId,
        accessKeySecret: creds.AccessKeySecret,
        stsToken: creds.SecurityToken,
        bucket
      });

      console.log(OSS.version);
      return func(client);
    });
  }

ali-oss

aliyun oss(object storage service) node client

MIT
Latest version published 8 months ago

Package Health Score

75 / 100
Full package analysis

Similar packages