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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

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 19 days ago

Package Health Score

84 / 100
Full package analysis