How to use the ali-oss/lib/client.initOptions 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 willnewii / qiniuClient / src / renderer / cos / aliBucket.js View on Github external
this.cos.getBucketInfo( => {

            this.cos.options.region = res.bucket.Location;
   = false;
            delete this.cos.options.endpoint;
            this.cos.options = Client.initOptions(this.cos.options);

            this.setPermission(res.bucket.AccessControlList.Grant === 'private' ? 1 : 0);


aliyun oss(object storage service) node client

Latest version published 3 months ago

Package Health Score

78 / 100
Full package analysis